am trying to use the Twain class to scan images, but i got the result 7 in the folling statement
st = GdipSaveImageToFile(img, sd.FileName, clsid, IntPtr.Zero)
its seems that this happen when i save on the same file for second time.
any idea to fix this ? i tried to delete the d\file before the second scan but its lts seems locked