7 Replies Latest reply on Aug 13, 2012 2:29 AM by AidySun

    Error LNK2019 occurred when compiling with CS6 on Win

    AidySun Level 1

      When i try to use GetMousePosition() in my code, i got bellowing link error when compiling in VS2010.


      Is there any library i can include to resolve it?


      error LNK2019: unresolved external symbol __imp__GetCursorPos@4 referenced in function "struct tagPOINT __cdecl GetMousePosition(void)" (?GetMousePosition@@YA?AUtagPOINT@@XZ)