From: <elm...@te...> - 2006-05-29 01:37:32
|
Hi everyone I would like to use the windows api functions with my Qt project. I know that I must include the windows.h file but when I try to write some api functions the compiler said that the NULL value is diferent that NULL MinGw or something like that. On the other hand, I found a dll library (http://www.codeproject.com/win32/AntonioWinLock.asp). This dll lock windows desktop (Ctrl+Alt+Del and others), and it work well with vc++ and vb, I need to call this dll into my Qt project. I wrote into my .pro file the next opctions: LIBS+:=pathtothedll'\winlock.lib . And into frmloging.h #include "winlockdll.h", then I can do that Class FrmLogin : public QDialog { public : .... int CtrlAltDel_Enable_Disable(BOOL bEnableDisable); ..... } void FrmLogin::myFunction(){ CtrlAltDel_Enable_Disable(false); } but when I try to Call this function I have an error. (Undefined the definition from CtrlAltDel_Enable_Disable). What must I do. |