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

Recommended Answers

All 3 Replies

Thnx For this good tutorial

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!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.