hi all
can anyone please tell me
how can i code my MFC application to run as an NT service (win2k)
best regards
vicky
hi all
can anyone please tell me
how can i code my MFC application to run as an NT service (win2k)
best regards
vicky
What do you mean by NT service?
Monday - what a way to spend a seventh of your life
Win32 service
A service that conforms to the interface rules of the Service Control Manger. This enables the Service Control Manager to start the service at system startup or on demand and enables communication between the service and service control programs. A Win32 service can execute in its own process, or it can share a process with other Win32 services.
Vicky I look through the MFC hierarcy and found no such classes. But there is a a non-MFC sample in MSDN Library Visual Studio 6.0. If you don't have it you can problably get it from the msdn site. Its called "Service Sample: Create and Install a Service". If that doesn't work I can send all of it to you.