Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CreateService

Status
Not open for further replies.

Zyrenthian

Programmer
Mar 30, 2001
1,440
US
Hi all,
I am calling the CreateService API when my program is installed. It works fine when I pass NULL,NULL for username and password but when I try to give it my username and password I fail. I have tried &quot;<domain>\\username&quot; and
&quot;username&quot; with no luck. I have tripple checked the capitolization in my password and that is fine. My return code is 87 (invalid parameter) so I can only assume that it is because of the username. Are there any settings I need to specify to the function to let it know i want to use my username and password?

On a side note: this program can not be registered as null user for some of the functionality we want to provide.

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top