DirectShow 正在重置我的电脑
我使用 DirectShow 开发了小型应用程序,并在下一个链接上编写代码:
http://www.codeproject。 com/KB/directx/directxcapture.aspx
如果我有第二个显示器处于活动状态,当我关闭应用程序时,它会重置我的电脑。
看起来线条如何?首先,当我关闭应用程序时,0.5秒一切正常,之后电脑冻结1秒,蓝屏0.5秒,然后重置。
我的 PC 上有 Nvidia 7600GS 显卡。
capture.Close(); 可能有问题吗?方法?还是视频卡?
请帮忙!
I developed small application using DirectShow and code on next link:
http://www.codeproject.com/KB/directx/directxcapture.aspx
If i have 2nd display active, when I close application, it reset my PC.
How does it looks line? First, when I close application, for 0.5 is all ok, after that PC freezes for 1 sec, blue screen for 0.5 sec, and then reset.
I have Nvidia 7600GS video card in PC.
Is there maybe a problem with capture.Close(); method? Or it's video card?
Please help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
听起来您遇到了 BSoD。配置您的计算机以保存内存转储文件或连接内核调试器,您将能够获取错误检查代码和堆栈跟踪。
Sounds like you're getting a BSoD. Configure your computer to save a memory dump file or connect a kernel debugger, and you'll be able to get the bugcheck code and stack trace.
更新显卡驱动程序,这可能会解决您的问题,但我建议更换该 gfx 卡。
我们还在 nVidia Quadro NVS 卡和其他商务级四头卡上看到了这一点。
不过,大多数 nVidia 卡都没有这个问题,而且它也不是 nVidia 特有的。
也可能是网络摄像头驱动程序写得不好。通过为您的程序使用不同的捕获源来测试这一点。如果仍然崩溃,则可能是您的显卡驱动程序的问题。
Update your drivers for your graphics card, this may solve your issue, but I'd suggest replacing that gfx card.
We've also seen this on the nVidia Quadro NVS cards and other business class quad head cards.
Most nVidia cards don't have this problem though, and it's not specific to nVidia.
Could also be poorly written webcam drivers. Test this by using a different capture source for your program. If it still crashes, it's likely to be your video card drivers.