[Qt-interest] HINSTANCE from QLibrary ?
Martin Schreiber
zirkelmagier at googlemail.com
Tue Aug 11 18:30:41 CEST 2009
Hello,
i'd like to register a Windows-Systemhook from within my QT-application. The
call for registering looks like this :
hHookProc = SetWindowsHookEx(WH_KEYBOARD_LL,&hookFunc,hLibrary,NULL);
where hLibrary is a handle (HINSTANCE) from a previously loaded DLL. Loading
the library via the QLibrary-Class ist very convenient but i haven't found a
way to get a HINSTANCE for the library itself.
Is there something i'm missing or do i have to use Win32 functions for
loading the DLL to get a handle ?
Any help would be appreciated.
Thanks and regards
Martin Schreiber
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090811/06c2e283/attachment.html
More information about the Qt-interest-old
mailing list