Why it doesn't work?Code:SHELLEXECUTEINFO infoAsm;
infoAsm.lpDirectory = ".\\dirabc";
infoAsm.lpFile="old.exe monAsm.txt";
if(ShellExecuteEx(&infoAsm)==0)
cout << "Tasm error" << endl;
Printable View
Why it doesn't work?Code:SHELLEXECUTEINFO infoAsm;
infoAsm.lpDirectory = ".\\dirabc";
infoAsm.lpFile="old.exe monAsm.txt";
if(ShellExecuteEx(&infoAsm)==0)
cout << "Tasm error" << endl;
I used : ShellExecute and it work but I have a problem, my .exe is a console and when I open it I see it for 1 second and after it close automaticly, how can I stop that?