Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. windows service

windows service

Scheduled Pinned Locked Moved C / C++ / MFC
helpsysadmin
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    micutzu
    wrote on last edited by
    #1

    Hello, I have problem and I am wandering if someone can help me with a solution. I have a windows service that works well and when it is stopped by the user the server should disable the proxy settings. There are 2 great samples on codeproject that are working well on changing the proxy settings for IE. So I have moved a method named DisableConnectionProxy which works in sample code but does not work in the service. So I know for sure that DisableConnectionProxy method disables the proxy settings in IE, the same code does not work (it is executed but does not change the proxy settings) when it is part of the service. case SERVICE_CONTROL_STOP: DisableConnectionProxy("DefaultConnectionSettings") I think that this might have something to do with the service interaction with the desktop. The service is running under the Local System Account. If anyone has a suggestion or can recommend me a good article I would appreciate it. Thanks.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups