03-22-2022, 07:50 PM
Just one more thing about if you use WinMain() you will probably want to call Win32_Set_Instance() with the hInstance passed to WinMain() ... this saves the application instance for use in the library internally. Most stuff works without it, but there are a few things that require the instance.