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

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -