Page 3 of 3

Re: Random memory page errors causing crashing

Posted: Wed Feb 09, 2022 8:25 am
by Marc56us
Return: If the manual doesn't mention for exit loop it, then don't use it, even if it works because it doesn't say that it will always work in all cases.
The official and therefore safe way out of a loop is: Break
Break : Continue
:wink:

Re: Random memory page errors causing crashing

Posted: Wed Feb 09, 2022 9:02 am
by BarryG
Thanks, Demivec!

Re: Random memory page errors causing crashing

Posted: Mon Feb 21, 2022 11:29 pm
by DeanH
Just to finish off, after a great deal of investigation, the problem turned out to be a faulty network switch. Replacing the switch solved the problem. The switch was causing brief random network disconnect. When that happened, Windows shut down the exe without generating an error. This explains the random nature, the lack of error messages with OnError active, and why changing or fixing the software made no difference. It was difficult to track down and involved considerable patience on the part of the school library and technical support staff. Thank you everyone here for the suggestions.

Re: Random memory page errors causing crashing

Posted: Tue Feb 22, 2022 12:51 am
by BarryG
@DeanH: Phew, glad that's over! Don't you just hate chasing non-existent bugs in your code? LOL.