Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running exe as service
Message
 
À
23/02/2009 21:21:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Windows
Catégorie:
Produits tierce partie
Divers
Thread ID:
01383582
Message ID:
01383904
Vues:
38
>>I have one exe that needs to be running 24/7 on a computer, so I usually add it to the Startup folder on the computer. I don't have the resources right now to convert it into a Windows Service.
>>I think there are some 3rd party software that will run exe files as a service.
>>Does anyone have any experience with this?
>>
>>A consultant I talked to recomended XYNtServiceProject but I have not had time to look into it yet.
>
>The thread mentioned by Nadya gives some interesting pointers.
>
>I tried with the product from Microsoft, but couldn't make it work. I suspect I overlooked some minor detail.
>
>The free download from http://www.pirmasoft.com/runassvc.php, on the other hand, is very easy to use, so logically there is less chance of screwing things up.
>
>The only other thing you have to do is to invoke
>
>
>SYS(2340,1)
>
>
>in your Visual FoxPro program.

Thanks Hilmar. I read your thread last night but I have not had a chance to dig into it or test it.
The app is not a VFP app, it is a .NET Windows Form app. Do you know of any issues using RunAsSvc.exe in conjunction with a .NET Win Forms app?
My customer tried to configure Windows Server (2003 I think) using M$ reccomended ways but the service started and then stopped just like you reported.

What is the purpose of SYS(2340,1)? I have not dealt with VFP in a long time but am curious.

Thanks,
Einar
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform