Save hInstance in DllEntryPoint(), then use it in DialogBox.