Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running a COM as a Service...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00439512
Message ID:
00441391
Vues:
9
Vald thank you,
This will be useful.
>Hi!
>
> We have subscriber's CD for NT 4.0 from year 1998, it contains NT Resource Kit. AFAIK, it was on the same CD with NT 4.0. Maybe now it is shipped separately? Anyway, this is not a problem to get it.
>
> VFP works with SRVANY. I used this way many times without a problem. There are tricks, however, with security and user account for service. Following is something from my experiense.
>
> Be sure to specify proper user account for service if you want your application to access network resources. In addition, this account should have enough access rights on the local computer to access all local resources (my application runs WORD OLE, Outlook OLE, PDF printing, printing etc. in service mode without any problems). There is a single problem, however, when someone logon on local computer with the same account as used for services. When such user logout, all SRVANY/VFP services ran under that account shutdown too. So, make your own unique account for these services that nobody from users know about, and register it as network user to access network.
>
> HTH.
>
>>The NT Resource Kit is a collection of tools that should have shipped in the box with the NT install media, but didn't; you have to buy it from Microsoft around $60 US. You should only buy Windows NT Server Resource Kit Supplement v4, nothing earlier.
>>
>>Ed, are you saying that VFP .exe's setup with SRVANY don't work?
>>
>>
>>
>>>Hi!
>>>
>>>I don't remember exactly. NT Resource Kit is probably part of the NT installation CD(s).
>>
>>>>>
>>>>> As Ed Rauh said, you can run VFP application as NT service using SRVANY tool from NT Resource Kit.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform