Thread: writing a windows service

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    69

    writing a windows service

    ok, i've been browsing little code samples and docs about windows services, and i haven't been able to make much sense out of it.

    i get that you have to have the functions to install/uninstall the service and a service main to enter into, but where do you put your program code? all of the examples that i've seen don't really have any executable code (like, a function that actually does anything aside from set up the service). where do you insert your program code in the service code? and does anybody have a good example for a newbie at windows services?

  2. #2
    Registered User Draco's Avatar
    Join Date
    Apr 2002
    Posts
    463

  3. #3
    Registered User
    Join Date
    Oct 2002
    Posts
    69
    woo, got it worked out. issue resolved

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how to Search for a certain service and a process in Windows
    By daher in forum Windows Programming
    Replies: 11
    Last Post: 09-04-2008, 08:14 AM
  2. Run program as Windows 2003 Service
    By magic.mike in forum Windows Programming
    Replies: 2
    Last Post: 09-09-2005, 03:39 PM
  3. windows service
    By Cbuild in forum Windows Programming
    Replies: 5
    Last Post: 01-06-2004, 07:20 PM
  4. windows service + hooks + dll
    By rotis23 in forum Windows Programming
    Replies: 5
    Last Post: 09-04-2003, 07:06 AM
  5. Disable Messenger Service Windows
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 08-22-2003, 05:07 PM