QT load QLibrary user32 -


im trying load user32 in qt5 doing:

    #include <qlibrary.h>     #include <windows.h>     #include <lmcons.h>     #include <process.h>     #include <stdio.h>     #include <userenv.h>     #include <winuser.h>      qlibrary *lib = new qlibrary("user32");                qfunctionpointer p;             if(lib->load() && (p = lib->resolve("getlastinputinfo"))) {                 qdebug() << "lib loaded";             } else {                 qdebug() << "lib not load";             } 

but keep getting output "lib not load"

any ideas doing wrong?


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -