Error in running a .exe file!

Hi,
I was trying to run a exe file using the program.
I used,
system("myapp.exe");
to run it.
But when i executed it i got an error saying
Cannot load VDM IPX/SPX support


Can anyone pls explain what it means?
What is the solution for this?
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
Topic archived. No new replies allowed.