Jump to content

Featured Replies

Posted

I have developed a program , let's say it prog 'A'. I have created and set

desktop for the process A.Now this process A creates another process B using

CreateProcessAs User. Now this process B has it's desktop and windows station

same as the Process A. i have done this using lpdesktop field of startupinfo

structure. Form Process B i want to launch a GUI apllication. Hence this

process B again creates another process C with it's lpdesktop of startupinfo

structure set to

"WinSta0\\default".

Now this works absolutely fine on windows 2000, NT but not on XP.

On XP I am able to launch notepad.exe but it is not receiving WM_PAINT

messages from system and hence although notepad.exe is launched but all i can

see on desktop is notepad's boudary line.

Note that this is only on XP, and also if i use CreateProcess instead of

CreateProcessAsUser in Process A then there is no problem.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...