Am 25.12.2011 22:37, schrieb Tal: > I want to save the hInstance of WinMain so I would be able to use it later in some > other module. So how do I accomplish that ? If you don't know: You can also get the HINSTANCE with GetModuleHandle(NULL);