This real-world problem shows up as an appcompat problem about every two or three weeks, so I figured I'd write it up as a "What's wrong with this code" snippet. BOOL DllMain(HMODULE hModule, ULONG Reason, PCONTEXT pContext) { ghInst = (HINSTANCE) hModule;
Read More...