Board index » delphi » Using a TImage component > Saving to File Problem?
Reid Roman
![]() Delphi Developer |
Thu, 03 Feb 2000 03:00:00 GMT
Using a TImage component > Saving to File Problem?Hello all, I am creating a project where the user can scan a diagram, and save it I am using twain to do this compliments of EZTWAIN.DLL and EZTWAIN.PAS. EZTWAIN acquires the image as a HBitmap type. I first could not figure out how to pass this bitmap to the TImage TWAIN_WriteNativeToFilename(Hbmp,pFileName); I pass the HBitmap handle, and a filename (TempScan.BMP) to the function HERE'S the BIG PROBLEM! If I scan, and use the EZTWAIN procedure mentioned above to save the Can someone please tell me why this might be happening? Please respond E-mail as well as in the News Forum.. Thanks so much! Rkr \|||/ |