How to create a window with Win32 API. GitHub:
Blog:
Notes:
00:43 - vcvarsall.bat sets the environment so that we can use the cl.exe command line tool to build our project.
1:04 - 4.bat file is just an example batch file that I use to open the 4Coder editor.
18:04 - it is MB_OKCANCEL.
► Django book for beginners:
Table of contents:
0:00 Setup the development environment
2:40 main.c && build.bat to build the project with cl.exe
5:04 Debugging with Visual Studio
6:45 Program structure
7:35 wWinMain() function
8:50 WNDCLASS structure
9:57 CreateWindow() function
12:02 Game loop
14:38 WindowProc() function
17:29 Handle WM_CLOSE message and open a MessageBox
18:47 Use the AdjustRectFunction() to set dimensions for the client area
20:10 Test cmd and showCmd parameters
22:26 Use the OutputDebugString() function to print out stuff in the Visual Studio debug window
#c #win32 #gamedev
Samuli Natri is a programmer. Mostly C and OpenGL.
Website:
Github:
Twitter:
Facebook:

0 Comments