Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows won't Shutdown
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01033966
Message ID:
01034779
Vues:
20
Did it ... had to release the Global Object first.

Thanks.



>Life isn't perfect, is it ?
>
>The application closes perfectly now when I shutdown Windows ... but if the user closes the application in the usual way, it gets a C5 error !!!
>
>Have you got any other rabbit inside your hat ?
>
>
>
>>To let windows continue its shutdown-procedure the on-shutdown-procedure must stop the vfp application itself!
>>So the shutdown procedure must end with a QUIT statement, and not a RETURN. It is not enough to just 'clear' the readevent and let the application end 'gracefully'.
>>
>>>Hi there.
>>>
>>>I've got a funny situation here ... hope anyone could give me a clue.
>>>
>>>WinXP won't "turn off" whenever my VFP7 CM7 application is running. I mean, all forms might be closed at the moment, nothing is waiting anything, the application is only there, whether minimized or not. If there is an attempt to turn WinXP off, the application will be closed, but windows will stop there and stay alive, then it's necessary to switch Windows off again, and it will work.
>>>
>>>OK, why on earth is this a problem, right ? Just close the application before switching WinXP off ... That would be fine if the windows user were the one doing it, but in my case, this is done remotely, there's no one sitting on the desk at the time WinXP is ordered to switch off.
>>>
>>>I've tried many things, but as I haven't got much hair left, I was thinking if someone had an idea to help.
>>>
>>>Thanks in advance.
Ivan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform