views:

177

answers:

8

I tried to use WTL, but i couldn't make it to work on VS2008 Express, there is any other option? I would like to test if any, before recur to the plain API :/

need to be small and have no external dependencies

Thanks in advance!

A: 

GTK+ is pretty good; it's simple and cross-platform.

http://www.gtk.org/

Delan Azabani
I wouldn't exactly call it "small" though.
Billy ONeal
Smaller than Qt and very complete still!
LukeN
Complete... but a pain on Windows.
George Edison
A: 

I would suggest Qt as opposed to Gtk...see http://www.wikivs.com/wiki/GTK_vs_Qt

However, I'm unsure of size.

foxwoods
Even with stripped custom builds you can't call Qt small.
Georg Fritzsche
both GTK and QT are great libraries, but not small and huge dependencies for simple applications
arthurprs
-1 Qt is **huge**! On Windows, you need to bundle almost 30 MB of shared libraries.
George Edison
@George: You don't need to, depending on what you are doing. If i remember correctly i got it down to about ~3MB of static libraries for a simple GUI/Network usecase.
Georg Fritzsche
@gf: Dude, please tell me how - because 30 MB was the lowest I could get it.
George Edison
@George: Make your own build, use only the modules you absolutely require and deactivate every option that isn't required by your app - e.g. all those image codecs.
Georg Fritzsche
just to point out.....I never claimed I knew the size, easy up folks. Thanks for the heads up though.
foxwoods
+1  A: 

There's a similar question here. WTL is mentioned (perhaps the problem you're running into can be resolved if you provide details), as is Delphi, Visual Basic 6, and others.

jdigital
At the moment i'm using Delphi + KOL library, but the current code is a complete mess, so, i need to rewrite it or find alternatives before moving forward.
arthurprs
+1  A: 

Is there something wrong with Win32 common controls? Or maybe MFC?

Daniel Paull
It's definitely not easy to write application with the plain Win32 API :/
arthurprs
**Wrong!** I started out writing plain-old Win32 API programs. There is nothing wrong with it.
George Edison
come on, compare it to Glade, MFC, VCL, it's an abuse to call it easy..
arthurprs
@arthurprs: I've never used any of those, so I can't compare them... but I still think a fundamental understanding of the Windows API is valuable even if you don't ever use it directly.
George Edison
i know the api, but i don't like to spend 1hour on tasks when i can spend just a few minutes
arthurprs
I just think the either Win32 or MFC will best meet your requirement for it "to be small and have no external dependencies". I hadn't realised you wanted it to be easy to use too... Raw Win32 is just fine for small application. MFC should serve you well for larger jobs.
Daniel Paull
+3  A: 

wxWidgets is worth a look. It's relatively small compared to say Qt, GTK and is free, open-source and has a decent set of docs, examples and reasonable community support.

It's self-contained on Windows

zebrabox
+1 wxWidgets is awesome!
George Edison
@George Edison - yep it's very nice. Also runs on Unix, OS-X and has bindings for Python etc :)
zebrabox
@zebrabox: I use it on Windows and Linux (via the GTK port). It works great for minimizing platform-specific issues.
George Edison
+2  A: 

If you need really small for embedded systems take a look at FLTK. http://www.fltk.org/

Jay
Thanks for the tip, i will check it out
arthurprs
A: 

Just get the paid for compiler, a second hand copy of 7.1 (2003) can be bought cheaply and if you're using C++ you can produce full featured WTL programs with it.

A: 

Download the free WDK. It contains ATL 7.1.

demonkoryu