I'm trying to import a function exported by a dll. So far:
The lib and dll are in my project directory and my dll is in my debug directory. I get the following linker error when I compile:Code:#pragma comment(lib, "hookHop.lib") extern "C" void hhPostMessageA(HWND Hwn, UINT Msg, WPARAM WParam, LPARAM LParam); extern "C" LPARAM CursorPosTolParam(VOID);
Help?Code:main.obj : error LNK2019: unresolved external symbol _hhPostMessageA referenced in function "void __cdecl SendKey(char)" (?SendKey@@YAXD@Z) main.obj : error LNK2019: unresolved external symbol _CursorPosTolParam referenced in function "long __cdecl getCursPos(void)" (?getCursPos@@YAJXZ)