Show the exact line that cause the error.
Ok, here you are:
If i did not tell at least a dozen times, that the error happens at the very last line, then not even once...
Now seriously what are you doing is make no sense. You don't want to show the code(which is OK), but you still expect us to somehow guess where the error is(this is annoying).
I'm no longer expecting that. I already gave it up.
Just comment out 60% of your application, do a quick test. If there is no error add back 10% and so on. With this method you should find in less then an hour where the bug is, especially since you're familiar with your own code.
I already did this. We discussed this on the previous pages. If i comment out that single line which loads the images, then the error is gone. But until this point, no one could tell why this line
infoimg[Self.CEI].Picture.LoadFromStream(Self.Buffer);
- which works
all along and causes no errors - will crash the program when it reaches the end.