Discussion:
NetUserGetLocalGroups
(too old to reply)
Chris Baker
2005-07-12 12:29:02 UTC
Permalink
I try to use the command .....

NetUserGetLocalGroups(...)

and I am including ....

#include <lm.h>
#include <Security.h>

and the compiler says .....

ManPack error LNK2019: unresolved external symbol ***@32
referenced in function "private: bool __thiscall
CManPackView::IsAdminUser(void)" (?***@CManPackView@@AAE_NXZ)

Any ideas?
CheckAbdoul
2005-07-12 13:48:32 UTC
Permalink
Add Netapi32.lib to the list of object/modules to link to.
--
Cheers
Check Abdoul [VC++ MVP]
-----------------------------------
Post by Chris Baker
I try to use the command .....
NetUserGetLocalGroups(...)
and I am including ....
#include <lm.h>
#include <Security.h>
and the compiler says .....
ManPack error LNK2019: unresolved external symbol
referenced in function "private: bool __thiscall
Any ideas?
Loading...