CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    1

    Windows NT Service

    Hi,
    I have got an MFC application developed in MSVC++ 6.0. I want this application to launch with any NT machine at boot and it should stay there as users LogOn/LogOff. In other words I want to use it as a NT service. I tried to convert this application into service but did not found it practical. Later I thought to call my executable from some other NT service program. I used some examples to create a sample NT service and called exe from there. Now sample service gets loaded after boot, but it never calls my application. I want to know what can be good way to do my job i.e. converting my app as service or call it from some other service. Please try to answer ASAP.
    Regard's
    Krishna


  2. #2
    Join Date
    Apr 1999
    Posts
    27

    Re: Windows NT Service

    I think you can open your exe as service and select the boot time start,
    so you application will start when boot and
    work as service,
    use the CreateService


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