Programming Tutorials
C++ Win32 API
Freeze Programs Using Win32 Threads
Submitted by Baran Ornarli on Sun, 12/28/2008 - 17:27.Freezing programs is a lot of fun especially if you can reprogram it to freeze most of the programs on your friends PC using OpenThread and SuspendThread and then with the press of a key you can unfreeze them using ResumeThread and freak out your friends. Using Win32 Threads you can easily freeze any program, in this example we will freeze notepad.exe.
Win32 Registry Wrapper
Submitted by Baran Ornarli on Mon, 12/15/2008 - 05:53.If you've ever had to work with Win32 Registry, you'd know that it is painful to remember how to access the registry, retrieve values and set values with Win32 API. This tutorial covers a wrapper class that allows you to manipulate string (REG_SZ or REG_EXPAND_SZ) values in the registry using C++ Win32.
Simple C++ DLL Loading a Message Box
Submitted by Baran Ornarli on Mon, 11/17/2008 - 07:02.This tutorial shows you how to create a C++ Win32 DLL (Dynamic Link Library) which you can then use to call functions from that DLL in your main C++ program. I will be calling a MessageBox from the DLL and load it inside my main C++ program using LoadLibrary and GetProcAddress. I will also exchange integers between the DLL and the main program.
C++ Win32 API Simple GUI Wrapper
Submitted by Tomescu Alin on Fri, 10/17/2008 - 21:01.How would you like to write your Windows Graphical (Win32 GUI) software as EASY as this?
MyWindowClass wndClass (hInstance, TEXT("GenericWindowClass")); MyWindow wnd(hInstance, TEXT("My Window Title"), wndClass.className ()); wnd.Create(); wnd.Show();
Easy programming in Win32 isn't it?
C++ Win32 API Tutorial
Submitted by Baran Ornarli on Fri, 10/17/2008 - 20:37.You may have already done quite a bit of console programming with C++. Although, you probably wondered how they get those nice graphical user interfaces (GUI) in windows programs that don't have a black screen. Well, these GUI programs are called Win32 API programs. Learn how to make buttons, windows, text edits, and other GUI objects in Windows 32 programming.
Winsock Client Tutorial
Submitted by Baran Ornarli on Thu, 09/18/2008 - 18:31.This is a continuation of the Winsock Server Tutorial, you can use this to connect to the server created in that server tutorial or make your own server for this.
Winsock Server Tutorial
Submitted by Baran Ornarli on Thu, 09/11/2008 - 16:40.This Winsock tutorial will cover C++ Win32 API's winsock commands and basic functions. Reading this tutorial will familiarize you with creating sockets and servers with Winsock2. We will be learning about WSAStartup, socket, bind, listen, and accept functions and in addition the clean-up functions like closesocket and WSACleanup.

