What is the windows API?
-API (application programming interface) are (in this case) messages passed between a program and the Operating System.

What can API do for your C/C++ coding on windows?
-API can be used to make graphical programs and extend communication between your program and the operating system. Using operating system specific API; however, limits which system you can run your program on (since not all operating systems use the same API). If you need a cross-platform API you can use (http://www.trolltech.com).

What about MFC?
-MFC is a set of wrapper classes for the API, it is meant to make things easier for the coder, but has several limitations and disadvantages.

Where can I learn how to program using API and make my first GUI?
-http://www.winprog.org/tutorial/

Where can I download example source code for windows based API?
-http://www.bountyx.net/files/APITUT.zip (this link is temporarily down until my server is reorganized).

I saw several requests for making GUI's in windows using C/C++ so I decided to pass this along!

Best Regards,
BountyX

One quick note, when pointing to files, you don't include the trailing slash. The final slash (/) refers to a directory.

Just for anyone who had trouble downloading those files ;)

One quick note, when pointing to files, you don't include the trailing slash. The final slash (/) refers to a directory.

Just for anyone who had trouble downloading those files ;)

oops that was a typo, links are fixed now!

This article has been dead for over six months. Start a new discussion instead.