[fpc-pascal] PTCGraph Causing 217
Nikolay Nikolov
nickysn at gmail.com
Thu Jan 7 08:17:09 CET 2021
On 1/6/21 5:44 PM, James Richters via fpc-pascal wrote:
>
> I’ve been having issues with PTCGraph causing a runtime Error 217 :
> EAccessViolation: Access violation at seemingly random times in my
> program.The error is always on a line with either GetImage() or
> PutImage() but not the same one.The program can run for hours with no
> problems doing GetImage and PutImage every second or so, and then it
> just stops with this error.
>
> I know that if something disrupts the screen… like if I install a
> program and the Windows user control thing asks for a password, that
> ALWAYS causes this to happen, or if I unplug my monitor and plug it
> back in…. I find that this happens.. but lately it seems to happen for
> no reason.
>
> I don’t know enough about it to track it down, but is there some way I
> Can find out what causes this and prevent the error?It would be nice
> if I could detect the condition that causes this issue, and if I find
> that the issues is present, just stop trying to do Getimage() or
> PutImage() until the condition is resolved.
>
Can you provide an example program and exact steps to reproduce this bug?
Nikolay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20210107/340844b0/attachment-0001.htm>
More information about the fpc-pascal
mailing list