Hi everyone,
i need some guidance or help if possible help with running a program in c++. I am currently using this statement to run any external program in c++.
WinExec("C:\gui.exe", SW_SHOW);
The above command compiles ok but the external program is not executed.
There seems nothing wrong with my external program as i have tried to run it using other programming languages and it works. Can someone tell me what i am doing wrong. Can someone show me or e-mail me the right way of doing this. My e-mail is freesoft_2000@yahoo.com
Another thing to add is does anyone know how to use the CreateProcess function and show me a simple example of using this function.
Any help is deeply appreciated
Thank You
Yours Sincerely
Richard West