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.comICQ #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.