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

    Error LNK2019 occurred when compiling with CS6 on Win

    AidySun Community Member

      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)

       

       

      Thanks,

      Aidy