|
-
May 4th, 1999, 02:01 AM
#1
Help About CreateProcessAsUser
I'm now programming with VC++5.0 under Windows NT 4.0. When I use CreateProcessAsUser function in a console application after calling LogOnUser() function, I met a problem.
When I create a new process using CreateProcessAsUser(), if I use some functions, such as WSAStartup(),GetCurrentProcessId() and so on in the new process code, then when the applicaiton runs, it will pop up a message box to inform that USER32.dll initialization has failed, the process ended abnormally.
Please tell me how to solve this problem, how to use CreateProcessAsUser(), difference between CreateProcess and CreateProcessAsUser().You'd better provide me samples and documents.
Thanks!
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
|