Home › Forums › TWAIN Classic › Delphi Twain › Re: Delphi twain
In the lower Bit depth resolution it works perfectly OK. In the higher bit depth, you can watch the progress bar proceed… but then you get an “Access violation at address 00402851 in module ‘Example.exe’. Write of address 5165729E, when the progress bar is around 1/2 way through.
Looking with the debugger into this address is not that informative – as it doesnt take you into a line of Delphi Code, but into a section of assembly.
It appears to me, that the image is being sent to some block of memory that hasn’t had enough space assigned for the 48Bit image (which will be around 2X that of the standard 24Bit colour I expect.)
It doesnt matter which image format (for transfer I expect you mean) I use, the same problem occurs. Ultimately, I just want to grab one of the RGB colours and then window down into that to process a type of X-ray film.
Keith.