Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exe still in memory after
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01063875
Message ID:
01064488
Views:
15
Alex,

>>Your ON SHUTDOWN should point to a program, instead of just QUIT. The program should do a cleanup of everything, including any dangling object references (which may be better cleaned in the program or method when they are not needed anymore). Obj references may be your problem, that does not allow VFP to exit.

Not necessarily so. My problem was resolved when I included a QUIT command in the destroy event of the app's only form. When the user closed the form, the ON SHUTDOWN was not triggered so the app never when into shutdown... the READ EVENT was still processing but nothing was being displayed.

However, I gave you a "help" because I created a shutdown procedure that allowed me to more accurately control the app's closure when I'm in development mode. Rather than just QUIT, I test for the _VFP.Startmode and restore the VFP _Screen when I'm running interactively.

Thanks,
Thom C.
Previous
Reply
Map
View

Click here to load this message in the networking platform