**Hallo,
ich möchte einfach nur ein Programm aufrufen, allerdings mit dem CF!
Warum funktioniert der folgende Code nicht?
(Keine Fehlermeldung, Stringparameter kommen an, Structe sind vorhanden!)**
public void StartApp(string Application, string CommandLine)
{
const uint NORMAL_PRIORITY_CLASS = 0x0020;
bool retValue;
PROCESS_INFORMATION pInfo = new PROCESS_INFORMATION();
STARTUPINFO sInfo = new STARTUPINFO();
SECURITY_ATTRIBUTES pSec = new SECURITY_ATTRIBUTES();
SECURITY_ATTRIBUTES tSec = new SECURITY_ATTRIBUTES();
retValue = CreateProcess(Application,CommandLine,ref pSec,ref tSec,false,NORMAL_PRIORITY_CLASS,IntPtr.Zero,null,ref sInfo,out pInfo);
}//end_StartApp
Danke i.V.!!!
Beanpole