Zyrenthian
Programmer
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 "<domain>\\username" and
"username" 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
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 "<domain>\\username" and
"username" 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