|
Hi all,
I am facing a problem with TWAIN Scanning,
I am using Leadtools 14 with VB6 for my application :
I am acquiring an Image to Memory Mode, and using L_LTWAIN_BUFFER_MODE to Acquire method as :
intRet = ImgTwain.Acquire(L_LTWAIN_BUFFER_MODE)
The problem is with RasterTwains Acquire method that while calling the Acquire method the Image get scanned and immediately an error occured saying -
"Synchronous call of ReadImageData failed due to exception. Attempted to read/write protected memory. This is often an indication that the memory is corrupt."
Can someone tell me what is going wrong as the acquisition and transfer of image data done by the Acquire method ?
Or How I am able to conclude transfer of scanned image ?
Can I get any Memory Acquisition example ?
|