R – C win32 wrapper

cwinapiwrapper

I'm developing a win32 app in the C Programming Language. This is my first experience with the native win32 apis and they seem to be completely brutally unreadable (simple window).

I was wondering if there was a wrapper for the entire API that I could use, instead of having to smash my head with this stuff.

Other frameworks/libs won't do since I want to work with Windows' native api.

Thanks!

Best Answer

Other GUI frameworks/libs won't do since I want to work with Windows' native api.

If you want to work with the Win32 API... you have to work with the Win32 API. You'll want to get your hands on a copy of Petzold (http://www.charlespetzold.com/pw5/) and go from there. The example you posted is not incredibly complex, once you have seen the explanation for what the code does you will probably be less worried.

MFC/ATL/Qt/wxWidgets will all allow you to get handles to the controls if you need to customise anything.

Is there any particular reason you want to work with the native Win32 API?

Related Topic