|
-
March 21st, 2010, 01:36 PM
#1
Manually made a service, having trouble installing it!
Hi Everyone,
First trip to the forums and I hope this is an educated enough post.
I've written a service in C++ that performs some functions I need for my office. Right now, I'm manually issuing SC commands like:
sc MyService binpath= c:\Whatever\whatever.exe
To install the service, then I head up to services.msc and then set the service to start. After that, it works fine. But now, I have a question that I can't seem to get my head around:
How can I have the service install itself by someone just "double-clicking" it without using any other utility than basic code (no .NET, no ATL, no nothing but pure C++)?
Anyone that helps out will receive great praise and thanks from me.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|