Win32 programming tutorials

This section is dedicated to exploring various aspects of programming under the Win32 platform in C++. All tutorials are designed to compile correctly under Visual Studio 2005 and Visual Studio 2008.

Currently we have two catagories - general 'Windows Tutorials' and 'Winsock Networking Tutorials'.


Please show your support and visit the forums to discuss these topics.

Prerequisites

Prerequisites 1 - Creating a Console based project
Prerequisites 2 - Creating a Windows based project


Windows Tutorials

Tutorial 1 - Beginning Windows programming
Tutorial 2 - Creating a basic window
Tutorial 3 - Creating window assets (Edit boxes, buttons, etc..)


XAudio2 Tutorials

Tutorial 1 - Playing a sound
Tutorial 2 - One buffer, muliple voices
Tutorial 3 - Events and Asynchronous I/O (Part 1/2)
Tutorial 4 - Events and Asynchronous I/O (Part 2/2)
Tutorial 5 - Streaming a wave from disk
Tutorial 6 - Submix Voices & Controlling Volume
Tutorial 7 - Using filters
Tutorial 8 - Adjusting the frequency ratio


DirectX 9.0c Tutorials

Tutorial 1 - Creating a basic render window


Winsock Networking Tutorials

Tutorial 1 - Blocking Sockets in TCP/IP (The Client)
Tutorial 2 - Blocking Sockets in TCP/IP (The Server)
Tutorial 3 - Non-Blocking Sockets in TCP/IP (The Client)
Tutorial 4 - Non-Blocking Sockets in TCP/IP (The Server)
Tutorial 5 - Error handling with Winsock
Tutorial 6 - Async Sockets in TCP/IP (The Client)
Tutorial 7 - Async Sockets in TCP/IP (The Server)
Tutorial 8 - Handling multiple clients


Appendix

Appendix - Winsock error codes