How do I get the Windows HINSTANCE handle?
-
Hi Guys,
I am integrating an SDK that requires access to the HINSTANCE handle that Win32 provides in its WinMain call like this:WinMain(HINSTANCE hInstance,.....I have tried QApplication::instance(), but that doesn't seem to be satisfactory to the SDK that needs the handle.
Does anyone know what procedure I need to call?Thank you, :)
Chris -
Thank you both.
I have tried both solutions (plus about 3 others), but the SDK doesn't seem to be responding. I believe I will need to compile and debug within the SDK - something else must be going on.
Thanks agian for your help and quick replies - sincerely appreciated! :)
Chris