Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why on shutdown program is not called?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01474941
Message ID:
01475002
Vues:
31
>>>>You'll have to debug it - supposing llStartApp is true - have a look at the mutex stuff [ IF VARTYPE(oAppObj.oMutex.NAME) = "C"]
>>>
>>>Do you know of a way to simulate a system shutdown, but without actual shutdown (e.g. I'd like to continue working, but want to test shutdown of the application from the system shutdown).
>>
>>Maybe with SendMessage() API?
>
>Yes, just wanted a ready code as I'm lazy. I think I have it now - needed just two API - FindWindow and PostMessage.

You don't need FindWindow, the _screen and _VFP already have hWnd :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform