PDA

View Full Version : C++ GUI Wrapper



MidnightDreamer
12-05-2006, 06:41 PM
Is there any relatively simple way to take compiled C++ coding and have it presented in something a little better looking than the DOS window? Inputs and outputs are simple strings and numbers. It'd be much apprecaited if someone could direct me to a site or tutourial that might help me on this. Thanks.

gaijin
12-07-2006, 01:00 AM
You want to call unmanaged code from, say, C#:

http://www.codeproject.com/csharp/unmanage.asp

As long as you know the methods you want to invoke, it should be fairly straightforward.

hammock
12-07-2006, 12:59 PM
If you have access to the source code, an easy way is to use the FLTK C++ widget

http://www.fltk.org/

It's been a couple years since I touched it, but I recall it being easy as pie using the documentation and sample code on the website.

benyl
12-07-2006, 01:14 PM
I haven't coded in C++ in a while, but I don't remember anything being simple or straight forward. That being said, C++ is powerful.

does VS .net not have quick GUI tools for C++ like it does for C#?

ZorroAMG
12-07-2006, 01:36 PM
You COULD gift wrap the manual with a bow and give it to Mac.

:rofl: :rofl:



(Current holiday Mac commercial reference :D)

benyl
12-07-2006, 02:01 PM
Um ya. C++ is a language that can run on many platforms, including a Mac.

rage2
12-07-2006, 02:01 PM
Originally posted by benyl
does VS .net not have quick GUI tools for C++ like it does for C#?
I used MFC back in the day pre .net to make simple c++ apps. Unfortunately, you have to change the way you code in c++ to work with the MFC classes. No fun.

benyl
12-07-2006, 02:26 PM
MFC was no fun at all. You had to setup event handlers for everything. It was also very convoluted. MS seems to do that with everything (i.e. C# is just Java the MS way).