I have a D1 app that gives a GPF on closing, but only if there are no children open in the main form. If there is a child open, it closes no problem. If I step through the
code, it goes all the way through the FormDestroy event handler, and on exit from there goes to the FormResize event handler. If I F7 past the END ; of that event handler,
I get the GPF. The FormDestroy handler writes the INI file, and has a few FREEs. Whatever, disabling the code in these event handlers does not alter the behaviour.
The other curious thing is that it only occurs on 1 of many machines we have. There is nothing peculiar about this machine.