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

    UnInstalling a service creating a new instance of the service.

    I am uninstalling a service using APIs
    ControlService(service, SERVICE_CONTROL_STOP, &status)
    and DeleteService(service)

    After this is done I am seeing a new instance of the service in task manager.

    Could any one help me in sorting out this problem. Please. I don't want such behavior.

  2. #2
    Join Date
    Sep 2004
    Location
    Holland (land of the dope)
    Posts
    4,123

    Re: UnInstalling a service creating a new instance of the service.

    What kind of service is it ? This behavior sounds a bit like a protection. For instance if you illegally try to remove a virus scanner service or something like that.

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