Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Starting and stopping .exe frequently
Message
De
25/07/2012 15:34:53
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01549253
Message ID:
01549271
Vues:
59
There is a way make a your app.exe a windows service. The service can be setup to restart your app if it crashes or quits responding. Someone reboots the computer, the service automatically starts again. Take a look at Calvin's blog. http://blogs.msdn.com/b/calvin_hsia/archive/2004/12/13/282351.aspx

>I need to process an XML file(s) sent by an external application. I can make the external application drop the XML files in a folder and have a VFP with a timer to pick up these files. Or I can make the external program to automatically run a VFP application and pass it the name of the XML. The latter approach has advantage over the timer program: the timer program could crash and need to be restarted.
>
>>Why does the app need to start so often? It sounds like there is a better solution.
>>
>>>Hi,
>>>
>>>If a process external to VFP application starts a VFP exe application frequently (say every minute or even every half a minute), then lets VFP app process some day and then closes it, is there a potential problem with this scenario?
>>>
>>>TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform