Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running a COM as a Service...
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00439512
Message ID:
00439580
Views:
9
Hi!

COM object and NT service are things that could not be compared.
COM object called through OLE. It works using 'Request-response' model.
NT service works independently and performs some operations as reactions to certain events. For example, run maintenance application at midnight.
So, when you move from COM to NT service, you should rework model completely.

Sample of COM object:
Instantiated, called using some method to perform some action, destroyed.
Sample of NT service: Application that have timer object and runs something from timer event when some condition is true (time is midnight).

As Ed Rauh said, you can run VFP application as NT service using SRVANY tool from NT Resource Kit.


>I like to have my COM (created with VFP) running as a service on my NT server 4.0 SP6.
>
>How can I do It? I like to have the service start when the server reboot without having to log as the administrator.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform