[Question] Creating a windows application in c++?

Started by
9 comments, last by Eliad Moshe 11 years ago

do you think WIN32 API is good for windows application?

Advertisement

Nope. Try Qt or wxWidgets. wink.png

Win32 will certainly work, but it'll be alot of pain. Whatever you do, there'll be a learning curve, but IMO, Win32 is so low level that it's more of a learning wall than a curve.

Qt and wxWidgets are at a higher level of abstraction that makes it easier to get things up and running, while still retaining the same flexibility and power, with the added benefit of being cross-platform to Windows, Macintosh, and Linux.

Your mileage may vary.

Small dialog based apps aren't too bad, since the DefaultDialogProc handles quite a bit for you. Unless you just want to create a canvas for DirectX or openGL or whatever.

Otherwise, don't do it. It's tedious.

I'd use C# if I wanted a big Windows application these days. I used to do MFC in C++ but that was painful.

"Most people think, great God will come from the sky, take away everything, and make everybody feel high" - Bob Marley

i just recently search about good api creator and found this QT very interesting and now downloading. thank you for the reply very much appreciated :)

Even libraries like Qt will use win32 ( on windows ) some where inside but it is abstracted away. So why reinvent the wheel? If you don't have a specific reason to work with win32, then you probably shouldn't. Qt is a great library, so is wxWidgets.

I prefer Qt, it's easy to work with, has LOTs of other functionality not just GUI stuff. Also has a cross platform IDE that IMO is second only to VS.

If this post or signature was helpful and/or constructive please give rep.

// C++ Video tutorials

http://www.youtube.com/watch?v=Wo60USYV9Ik

// Easy to learn 2D Game Library c++

SFML2.2 Download http://www.sfml-dev.org/download.php

SFML2.2 Tutorials http://www.sfml-dev.org/tutorials/2.2/

// Excellent 2d physics library Box2D

http://box2d.org/about/

// SFML 2 book

http://www.amazon.com/gp/product/1849696845/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1849696845&linkCode=as2&tag=gamer2creator-20

I've never used Qt, but wxWidgets is pretty nice. I recommend that one over win32.

The first time I encountered Win32 I sincerely contemplated firebombing the MS campus.

It's second nature now, but there should at least be a warning label IMO.

void hurrrrrrrr() {__asm sub [ebp+4],5;}

There are ten kinds of people in this world: those who understand binary and those who don't.

The first time I encountered Win32 I sincerely contemplated firebombing the MS campus.

It's second nature now, but there should at least be a warning label IMO.

What's second nature? Win32, or desiring to incinerate Microsoft? laugh.png

The first time I encountered Win32 I sincerely contemplated firebombing the MS campus.

It's second nature now, but there should at least be a warning label IMO.

What's second nature? Win32, or desiring to incinerate Microsoft? laugh.png

Oh, you caught that one, did you? wink.png

void hurrrrrrrr() {__asm sub [ebp+4],5;}

There are ten kinds of people in this world: those who understand binary and those who don't.

For a simple "game window" Win32 really isn't that bad at all. For anything beyond a simple canvas for rendering then go with a higher level framework. If it's a full on Windows-style GUI app then I'd be more inclined to go for another language like C# (but that's just me).

This topic is closed to new replies.

Advertisement