AnanthakrishnanKC
asked on
Linker Error : NetApiBufferFree
error LNK2019: unresolved external symbol _NetApiBufferFree@4 referenced in function "int __stdcall MyWlxLoggedOutSASDlgProc(s truct HWND__ *,unsigned int,unsigned int,long)" (?MyWlxLoggedOutSASDlgProc @@YGHPAUHW ND__@@IIJ@ Z)
Where do i place netapi32.lib file. I am working it Visual Studio 2005.
Where do i place netapi32.lib file. I am working it Visual Studio 2005.
In Project properties->linker->Input
You can also type
#pragma comment(lib, "netapi32")
in the code file that use the lib.
#pragma comment(lib, "netapi32")
in the code file that use the lib.
ASKER
i also did but not still i have such problem?
Open the VC++ directories under Tools->options. Check that the folder containing the lib is present in the list.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.