944,110 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 6678
  • C++ RSS
Oct 3rd, 2007
0

Run a console application using GUI

Expand Post »
Hi all,

I have a console application, and I want to run it though a GUI. Its a simple GUI. Say there is a button called "Run", when I click the button need to execute the application do the task. Can you guys guide me to do it. I'm really new for C++ GUI developing.

Thanks,

Hi all,

I want to learn how to develop C++ GUI from the basis. So what are the resources(books, tutorials, etc). I use Microsoft Visual Studio .Net 2003.

Thanks.
Last edited by Ancient Dragon; Oct 3rd, 2007 at 10:16 am. Reason: same question asked twice
Similar Threads
Reputation Points: 32
Solved Threads: 2
Junior Poster
eranga262154 is offline Offline
185 posts
since Sep 2007
Oct 3rd, 2007
0

Re: Best resource to leran C++ GUI developing

Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,961 posts
since Aug 2005
Oct 3rd, 2007
0

Re: Run a console application using GUI

To reply to the "tutorial" suggestion... um, I wouldn't suggest "plain WIN32 API" anymore as a good way to learn/develop GUIs. It's outdated and clunky to use, albeit its a good "low-level" way of understanding GUIs.

Visual C++ 2005 is free and easy to use. It combines the visual ease of development of "visual-basic-style" development with the underlying power and speed of C++. I don't know if that holds true in VC2003.


For the "run a console application" question, if you use the .net framework ; there is a helper object that may prove useful:

http://msdn2.microsoft.com/en-us/lib...s_members.aspx

You build such an object, initialize it with the application name you want to launch, then you read the output or the error messages.

but... do that kind of trick only when your basic GUI framework is built and you have more experience with objects.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
blacklight is offline Offline
6 posts
since Dec 2005
Oct 4th, 2007
0

Re: Run a console application using GUI

Thanks for all replays. Actually I'm looking for Visual Studio .Net related materials.
Reputation Points: 32
Solved Threads: 2
Junior Poster
eranga262154 is offline Offline
185 posts
since Sep 2007
Oct 4th, 2007
0

Re: Run a console application using GUI

i don't know how easy it to do this with Visual Studio and MFC...{from posting in this forum i am guessing that you don't do c++/cli...}

I had a simular problem for a university project and i ended up using qt framework... They have a free version and it is very easy to do what you asked i.e. run a console application through a gui interface...

PS:: qt also has a very supporting community check out this forum and an excellent tutorial...
Reputation Points: 23
Solved Threads: 12
Posting Whiz in Training
n.aggel is offline Offline
202 posts
since Nov 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: I Need Help
Next Thread in C++ Forum Timeline: error C2664





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC