Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/143.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 枚举C+中的网络共享目录+;/MFC_C++_Mfc_Networking_Directory - Fatal编程技术网

C++ 枚举C+中的网络共享目录+;/MFC

C++ 枚举C+中的网络共享目录+;/MFC,c++,mfc,networking,directory,C++,Mfc,Networking,Directory,我需要获取当前计算机共享的目录列表及其共享名称。在C++中,如何使用NULL作为服务器名称? 您需要包括Lm.h并将Netapi32.lib添加到链接的库列表中

我需要获取当前计算机共享的目录列表及其共享名称。在C++中,如何使用NULL作为服务器名称? 您需要包括Lm.h并将Netapi32.lib添加到链接的库列表中