Skip navigation
Currently Being Moderated

Error LNK2019 occurred when compiling with CS6 on Win

Aug 5, 2012 11:53 PM

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

 
Replies
  • Currently Being Moderated
    Aug 7, 2012 5:31 AM   in reply to AidySun

    Just had a look in the Mac 6 SDK. Have a look at the BasicDragDrop project.

     

    P.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 8, 2012 4:08 AM   in reply to AidySun

    WSystemUtils.h ?

     

    P.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points