Re: Access violation in TJPEGImage on W2K and XP



jodleren wrote:
I agree that the finally should be better, but that is really not the
problem, nor Dormat or those.

The code I posted works perfectly for me. The problem must be elsewhere in your code. Build a test application that has only the code I posted and test it: It should work. Keep adding code until it doesn't. Then you know what is broken (Probably you are overwriting memory etc)


Cheers,
Nicholas Sherlock
.