本文介绍了NetGroupGetUsers C ++错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨.您能帮我这个代码吗?
Hi. Can you help me with this code:
NET_API_STATUS ret = 0 ;
LPCWSTR servername = L"MYSERVER";
LPCWSTR groupname = L"Administrators";
LPBYTE buffer = NULL;
DWORD entriesRead;
DWORD totalEntries;
DWORD resumeHandle = 0;
#define INFO_BUFFER_SIZE 32767
ret=NetGroupGetUsers (NULL, groupname, 0, &buffer, INFO_BUFFER_SIZE, &entriesRead, &totalEntries, &resumeHandle);
我收到此错误:
[链接器错误]未定义对`NetGroupGetUsers @ 32'的引用
我正在使用Bloodshed Dev C ++.
I am getting this error:
[Linker error] undefined reference to `NetGroupGetUsers@32''
I am using Bloodshed Dev C++.
推荐答案
这篇关于NetGroupGetUsers C ++错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!