/forger-win32-tutorial

Unofficial source code repo for theForger's Win32 API Tutorial.

Primary LanguageCMIT LicenseMIT

theForger's Win32 API Tutorial

Introduction

This repository is an unofficial repo for theForger's Win32 API Tutorial source code. No representation is made that this is my code, it's reproduced here simply so I don't forget about it and can easily reference it. All copyrights remain with theForger.

Building

You'll need Visual Studio 2022 with the Desktop development with C++ workload installed. You should then be able to open any of the VS solution files and immediately build them. It may be possible to open the VS solution files using older (but still modern) versions of Visual Studio, but I've not tested this.

Changes

The solution and projects have been upgraded to VS 2022 Community Edition.

Considerations

The projects successfully compile, but the source code and compiler/linker settings are dated, and so may generate compiler and security warnings during the build. These warnings don't stop the builds, but I strongly recommend you heed them before using any code in production. Remember that this is decades old Win32 code -- depending on what you're trying to do, more modern approaches such as C++/WinRT, WinUI 3, wxWidgets, Qt, Ultimate++, Boost, POCO C++, or newer additions to the C++ standard library (C++11 onwards) may be more appropriate.

When using any Win32 code from this repo in production, always consult the Windows API Index for relevant and updated API usage notes, as some APIs may have since been deprecated or had their behaviour modified in newer versions of Windows.

Additional resources