Hi Everyone,
I am converting our win32 app reports into WebServer and am receiving GPF errors only on certain builds when nothing has changed. The process is:
1. Select drill-down data on a NetWebForm.
2. User presses Save button which does validation of the Form.
3. The validation calls a Window(ABC) procedure to do a count to see if there are records to report on (if there are none then validation fails).
4. If the count returns records then user is taken to another NetWebForm which has a Print(Other) button.
4. User presses Print button and Report(ABC) procedure is called.
The GPF error happens at step 3. I have a debug (trace) statement just before the call to the Window(ABC) procedure to do the count and debug statement in the Init > Enter Procedure Scope embed of the Window(ABC) procedure. On the builds that I get the GPF I see the debug before the count procedure starts and then the GPF occurs.
To fix this I open any embed on the Window(ABC) procedure, click save and close without changing any code at all, then re-build WebServer and the GPF does not occur. On the next build, if I do not do this, then the GPF error occurs again.
Anyone know why this is happening?
Regards,
Trent