WSCInstallProvider执行失败,错误代码10091

zhaohengyuan 2010-07-02 12:23:53
最近接触到网络编程,用WSCInstallProvider来实现spi时,在有的电脑上执行不成功。错误代码为10091.
代码见 http://www.vckbase.com/document/viewdoc/?id=643
啊,哪个高手帮下忙了。或者给小弟点参考。 第一次玩网络编程...
msdn上解释好像是dll里的WSPStartup失败:
Network subsystem is unavailable.
This error is returned by WSAStartup if the Windows Sockets implementation cannot function at this time because the underlying system it uses to provide network services is currently unavailable. Users should check:


That the appropriate Windows Sockets DLL file is in the current path.
That they are not trying to use more than one Windows Sockets implementation simultaneously. If there is more than one Winsock DLL on your system, be sure the first one in the path is appropriate for the network subsystem currently loaded.
The Windows Sockets implementation documentation to be sure all necessary components are currently installed and configured correctly.

但是,却没法跟踪这个函数,不知道是哪个进程调用的。
...全文
337 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

18,356

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 网络编程
c++c语言开发语言 技术论坛(原bbs)
社区管理员
  • 网络编程
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧