| | |
Running a program
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jun 2004
Posts: 609
Reputation:
Solved Threads: 8
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
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
![]() |
Similar Threads
- Running another program from in between the first program (C++)
- Re-running program! displayed unreadable charactes.. HELP PLS (C++)
- Hiding the command window when running a program (C++)
- How to get total time of running program (Java)
- how to open a file after running the program (C++)
- Running a program from within a py script... (Python)
- Java Swing Calculator program not running. It has 0 errors (Java)
- Running a program before loading Windows Explorer during booting (Visual Basic 4 / 5 / 6)
Other Threads in the C++ Forum
- Previous Thread: help neede about converting characters
- Next Thread: C++ Builder and Mappoint Pushpins Problem
| Thread Tools | Search this Thread |
Tag cloud for C++
api application array arrays based beginner binary c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete deploy developer display dll dynamiccharacterarray email encryption error file format forms fstream function functions game generator givemetehcodez graph homeworkhelp iamthwee ifstream image input int java lib list loop looping loops map math matrix memory multiple newbie news number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg simple sorting spoonfeeding string strings struct template templates text tree url variable vector video visual visualstudio void win32 windows winsock wordfrequency wxwidgets





