You get the same error when run the same app by double-click ?
There is a chance that you are not trying to execute target exe at all - one reason system() C function is evil
Use CreateProcess() API to launch external process, properly escaping second argument and always use NULL as first argument.
Last edited on
No... I get that error only when i try to execute it using a program.
Does CreateProcess() need any header file to be included?
Can u pls tel the exact syntax of that.....?
Thank u