| |

VerySource

 Forgot password?
 Register
Search
View: 301|Reply: 2

SOLVED: Error about unresolved external symbol.

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-31 16:40:01
| Show all posts |Read mode
Hello everyone:
    I used :: TrackPopupMenu in my program, the program compiles, but I get the following error when linking:
error LNK2019: Unresolved external symbol TrackPopupMenu.
    I have #include <winuser.h> in the .cpp file, TrackPopupMenu is in winuser.h, why is it still reporting the above error?
   Thank you all! !! !!
Reply

Use magic Report

0

Threads

17

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-3-10 15:00:01
| Show all posts
Introduce the corresponding .LIB
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-3-22 14:00:01
| Show all posts
Thank you, the problem is solved.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list