::CoCreateInstance(__uuidof(NetSharingManager), NULL, CLSCTX_ALL, __uuidof(INetSharingManager), (void**)&pNSM);
這代碼我在網上找的都是這樣寫, 但我放到qt中編譯不過.
錯誤:
C:\Users\Administrator\Desktop\wifi_share\wifi_share.cpp:-1: error: undefined reference to `_GUID const& __mingw_uuidof()'
求解答
win7設置網絡共享(ICS共享)
http://blog.csdn.net/zhou_zion/article/details/7714290