Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CreateProcessAsUser

0 views
Skip to first unread message

Gabi

unread,
Jun 30, 2004, 4:14:01 AM6/30/04
to
Hi all,
i have some weired problem.

im activating some program via:
CreateProcess( NULL,
"App.exe",
NULL,
NULL,
FALSE,
0 ,
NULL,
NULL,
&si,
&pi ) )

Stts = GetLastError();
***and its working fine witout any problems***

but when im activating this process via :
CreateProcessAsUser(HToken ,
NULL,
"App.exe",
NULL,
NULL,
FALSE,
0 ,
NULL,
NULL,
&si,
&pi ) )

Stts = GetLastError();

***and in this case im getting "ABNORMAL PROGRAM TERMINATION"

is any one can suggest???

Thanks

Gabi

unread,
Jun 30, 2004, 5:18:02 AM6/30/04
to
all,
im activating from app.exe process
a dialog and this dialog make the exception.

if someone has a suggestion ill be glad to hear it

0 new messages