Need help?SetCursorPos() Help! - MPGH - MultiPlayer Game Hacking & Cheats
SetCursorPos() Help!
Posts 1–4 of 4 · Page 1 of 1
SetCursorPos() Help!
Visual c++ 2010 gives me following errors:
error LNK2028: unresolved token (0A000331) "extern "C" int __stdcall SetCursorPos(int,int)" (?SetCursorPos@@$$J18YGHHH@Z) referenced in function "unsigned long __stdcall Mis(void *)" (?Mis@@$$FYGKPAX@Z)
and
error LNK2019: unresolved external symbol "extern "C" int __stdcall SetCursorPos(int,int)" (?SetCursorPos@@$$J18YGHHH@Z) referenced in function "unsigned long __stdcall Mis(void *)" (?Mis@@$$FYGKPAX@Z)
This function works properly in CodeBlocks and Dev-C++
Help, please?
Originally Posted by Dusannn
Visual c++ 2010 gives me following errors:
error LNK2028: unresolved token (0A000331) "extern "C" int __stdcall SetCursorPos(int,int)" (?SetCursorPos@@$$J18YGHHH@Z) referenced in function "unsigned long __stdcall Mis(void *)" (?Mis@@$$FYGKPAX@Z)
and
error LNK2019: unresolved external symbol "extern "C" int __stdcall SetCursorPos(int,int)" (?SetCursorPos@@$$J18YGHHH@Z) referenced in function "unsigned long __stdcall Mis(void *)" (?Mis@@$$FYGKPAX@Z)
This function works properly in CodeBlocks and Dev-C++
Help, please?
I've already seen this errors... but I don't rememeber right now what causes them... cause you paste the code here?
PS: Paste it between [code ] [/code ] tags
Your project isn't linking the required Windows import library, so go to project properties, linker, input and in there remove the $(NoInherit) from the Additional Dependencies(and if you use VS2010 then put "user32.lib" in that box)