Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows won't Shutdown
Message
General information
Forum:
Visual FoxPro
Category:
CodeMine
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01033966
Message ID:
01034050
Views:
20
Hi Hugo.

Yes, I've got the Shutdown event, it's in the framework I use, which is Codemine V7. Codemine takes care of closing forms and taking care of all stuff.
When Windows starts its shutdown procedure, my application does shutdown properly, but then by some reason Windows doesn't.

I just wish it would die peacefully ...

Thanks for your attention.

Ivan



>Ivan,
>
>Do you have an OnShutDown event? Usually our main programs have something like:
>
>
>
>* All needed settings for example:
>set deleted on
>set exact off
>* and so on, then
>
>on shutdown do exit_to_windows
>
>* then do the main form/menu etc
>
>do form myForm
>read events
>
>exit_to_windows()
>
>
>function exit_to_windows()
>
>* Clean up code
>clear dlls
>release all
>clear all
>close all
>quit
>
>
>When windows shuts-down, the program should end cleanly
Ivan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform