应用程序无法在 Windows xp 上正确初始化
我已经编写了 Windows LSP aaplication,它在 Windows 7 上运行良好,但在 Windows XP 上出现以下错误“应用程序无法正确初始化(0xc0000142)” 我无法理解它不起作用的原因。
在使用dependecy walker查看时,我发现secur32.dll和ws2help.dll在xp中加载,而不是在win7上加载 谁能告诉我可能是什么原因?
I have written and Windows LSP aaplication which works fine on windows 7 but it gives following error on windows xp "The application failed to initialize properly (0xc0000142)"
I am not able to understand the reason why its not working.
On looking using dependecy walker I found secur32.dll and ws2help.dll that are loaded in xp and not on win7
Can anyone tell me what may be the reason?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这通常是缺少 C++ 运行时库的结果。找到 VC++ 可再发行软件包并将其安装到目标计算机上。可以从 Microsoft 下载:http://www. microsoft.com/download/en/details.aspx?displaylang=en&id=29 或 http://www.microsoft.com/download/en/details .aspx?displaylang=en&id=15336。
如果您有安装项目,则可以将 VC++ 可再发行组件添加到其中作为先决条件或合并模块。
This is usually result of missing C++ runtime libraries. Find VC++ redistributable package and install it on target computer. It can be downloaded from Microsoft: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=29 or http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=15336.
If you have installation project, VC++ redistributable can be added to it as prerequisite or merge module.