Hi all, i am having problems making a system call to run notepad.exe. I did
system("notepad.exe"
;
this runs ok, but it pops up a dos window in the background which i do not know how to disable.
Ive tried using the _exec functions namely _execv and _execl, but they seem to not run. I am not sure if it is because _exec functions are c and mfc apps do not allow us to call these functions or what. My code for execl looks like this:
_execl ("notepad.exe", "notepad.exe","_execl", NULL);
please help thanks.
system("notepad.exe"
this runs ok, but it pops up a dos window in the background which i do not know how to disable.
Ive tried using the _exec functions namely _execv and _execl, but they seem to not run. I am not sure if it is because _exec functions are c and mfc apps do not allow us to call these functions or what. My code for execl looks like this:
_execl ("notepad.exe", "notepad.exe","_execl", NULL);
please help thanks.