// File: global.h extern HINSTANCE g_hInst; inline HINSTANCE GetInstanceHandle() { return g_hInst; }