r_konjeti
9/3/2003 10:48:00 PM
I use CreateProcess in DLL_ATTACH_PROCESS when Application that
invokes DLL is started.
bReturn = CreateProcess( NULL,
"RUNDLL32 sfbapi.dll,DLL_Thread",
NULL,
NULL,
FALSE,
DETACHED_PROCESS|ABOVE_NORMAL_PRIORITY_CLASS,
NULL,
NULL,
&StartUpInfo,
&SharedData->ProcessInfo
);
Everything works fine. But my DLL process gets the name rundll32. I
want to give a meaningful name to my DLL for display in TaskManager
etc.
How should I modify these parameters in CreateProcess?
Thanks.