In this tutorial series, I aim to help you learn the Windows API. By the end, you will be able to make a basic game, using no libraries except Windows.h

IMPORTANT NOTE IF YOU USE CODE::BLOCKS
You might come across an error undefined reference to `__imp_GetOpenFileNameA.

If that happens you need to link to comdlg32, to do that you need to add the option -lcomdlg32 to the linker options.
https://stackoverflow.com/questions/23049844/adding-linker-options-to-codeblocks
----


In this first lecture, we will try our first bigger more complicated function. It is OpenFileName();

#cpp #gamedev #programming #windows

code: https://github.com/meemknight/windowsAPIforGamedevelopers

join my Discord!
https://discord.gg/eehehsPAka

Wishlist My Steam Game!
https://store.steampowered.com/app/2310670/Midnight_Arrow/

Do you want to learn some more stuff from me?
https://www.youtube.com/watch?v=7qm4OR3EmnQ&list=PLKUl_fMWLdH-6VRcIijsiZBgVWxTIu8DL

Music:
Evan King - w e i r d
Evan King - Virtually Impossible
https://www.youtube.com/ContextSensitive
https://contextsensitive.bandcamp.com/