hello , before 5 months I made a program by c language by borland c++ compiler v 3.1 . and it was run on console
application.(dos). so. now i would like to make GUI program by vc++ 6 and this GUI program have a botton and when i will press this botton I can call my program without make any change with source code. is that possible .?
and how i can do this.?:-/
fromthatside
0
Newbie Poster
Recommended Answers
Jump to PostDepends on what you mean by "call my program". If you just want to launch the already compiled *.exe program then the answer is Yes. There are several ways to spawn an executable program. system() is one such function, win32 api CreateProcess() is another.
Why do you want to …
Jump to Postwhat is "this botton" mean? Are you talking about a "button", such as something you click with the mouse? If yes, then call the dos program in the button's onClick event handler.
All 8 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
fromthatside
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
fromthatside
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
fromthatside
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
fromthatside
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.