having hard time getting good SERVICE these days 
Author Message
 having hard time getting good SERVICE these days

I want to add a program to the "services" in NT so that the program will run
every time windows starts. I created an ATL project (chose "service" exe in
the wizard, of course) - and made no changes to the code and project - it
compiles and registers in debug mode but has an error in any of the release
modes and I don't see it in services:-(.......PLEASE HELP!
          Thanks for the "service",
                  Ronit Glasser


Mon, 09 Apr 2001 03:00:00 GMT  
 having hard time getting good SERVICE these days
Hi Ronit,

When you build your service the "registering" it does is within
HKEY_CLASSES_ROOT.  You still need to register the application as a service
under NT.  Since this is an ATL project you can do this by starting your
program with a parameter of "Service", i.e. MyService Service.  You should
note that when it registers, it will make the service start upon boot which
is something you probably don't what to do while developing it.

What errors are you seeing in release mode?

HTH
--
=================
Frank Hickman
NobleSoft, Inc.


=================



Mon, 09 Apr 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Hard Real Time Applications really HARD to programme

2. Newbie search/replace program: 3 days hard work!

3. Best Way to Map Hard drive?

4. Having a problem in writing a service Application

5. best way to select hour of the day w/in a dg

6. Getting hard drive serial number through API?

7. Getting a Hard Drives Bios Information

8. VC6: MSDEV was still running after having gotten out of VC.

9. VC6: MSDEV was still running after having gotten out of VC.

10. Having trouble getting rid of some unresolved symbols in VC++ 5.0

11. What is a good way to make the OS expire after 60 days

12. getting the hard disk serial number

 

 
Powered by phpBB® Forum Software