during the build of my code, i m getting the following error
error LNK2001: unresolved external symbol __imp__QueryServiceStatusEx@20

i have included the library file advapi32.lib in project --> settings. but still the error is same.

any pointers??


Hi All,

Help needed to remove the unresolved external symbol error in code.
I searched on net and on msdn. it says i need to link the library advapi32.lib, i already did that but still the error stands.

any pointers for the same??

Thanks & Regards,

Did you ever find a solution to this issue? I'm experiencing the same issue right now.

have you tryed google??
type in "error LNK2001"

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.