Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trap Windows Startup & Shutdown?
Message
De
20/03/2002 07:45:28
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00634451
Message ID:
00634873
Vues:
21
David,

>Doug,
>
>I'm not sure your users are going to want a multimegabyte VFP application laying around in Windows all of the time waiting to trap the windows shutdown event. That's a pretty gorilla sized answer to the problem. I don't know if there is an ant sized answer though. *s*
>
>>>>>>Do you know if it's possible to trap the Windows Shutdown event and insert a VFP-based EXE at that spot? What I want to do is trap for the event and write an entry into a table.


*chuckle*

I understand your concern. <g> Fortunately the runtime will already be on the boxes so the only 'hit' would be my little app. I got it to work yesterday as a service on my computer when starting up. Now all I need to do is figure out how to trap for a shutdown. Fortunately I have a local fellow who's a very bright programmer and knows C++ and the Windows API well enough to create a little program for me if I can't come up with a VFP-based approach.
Best,


DD

A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform