CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    make an application as a service

    I want to make an application that can add as a service in NT. What should I add in my code? and What should I pay attention for?


  2. #2
    Join Date
    Apr 1999
    Posts
    27

    Re: make an application as a service


    SERVICE_TABLE_ENTRY DispatchTable[] =
    { { TEXT("ServiceName"),
    ServicesFunction},
    { NULL , NULL }
    };
    StartServiceCtrlDispatcher( DispatchTable)
    is the most important funtion to create
    service.

    There is Wizard sample under system in this site.

    please check it out
    leolin




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured