Thread: nt service

  1. #1
    vicky
    Guest

    Question nt service

    hi all
    can anyone please tell me
    how can i code my MFC application to run as an NT service (win2k)


    best regards
    vicky

  2. #2
    Hamster without a wheel iain's Avatar
    Join Date
    Aug 2001
    Posts
    1,385
    What do you mean by NT service?
    Monday - what a way to spend a seventh of your life

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    156
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Perfect number and divisors
    By Lissa in forum C Programming
    Replies: 31
    Last Post: 10-24-2008, 01:36 PM
  2. running my program as service
    By daher in forum Windows Programming
    Replies: 5
    Last Post: 09-05-2008, 12:30 PM
  3. Starting a NT service through an application?
    By crazyfish in forum Windows Programming
    Replies: 2
    Last Post: 06-06-2005, 10:56 PM
  4. NT Service problems - loop
    By nickname_changed in forum Windows Programming
    Replies: 0
    Last Post: 07-09-2003, 12:54 AM
  5. NT Service - researching...
    By schu777 in forum Windows Programming
    Replies: 3
    Last Post: 03-25-2002, 02:58 PM