unresolved external symbol External link library issues

file

Dynamic and static link links to related content.

There is no library file that contains psapi.lib

This problem arises mainly in the "Link" link process. When the link, because there is no lib contains the link error will occur.

Solution: 1, directly in the "source," adding, #pragma comment (lib, "psapi")

I mean to tell the compiler to compiler at compile time, when he joined psapi's lib library to compile .lib library.

2, the external dependencies inside the IDE .lib content increases.file

Published 69 original articles · won praise 13 · views 110 000 +

Guess you like

Origin blog.csdn.net/mutiantong/article/details/104004000