【发布时间】:2011-09-01 07:15:58
【问题描述】:
每当我在调试器下运行我的应用程序时,在使用 CFileDialog 浏览要打开的文件时都会出现以下异常
First-chance exception at 0x769db9bc in MyApp.exe: 0x000006BA: The RPC server is unavailable.
First-chance exception at 0x74e8cd99 in MyApp.exe: 0xC0020043: An internal error occurred in RPC.
MyApp.exe has triggered a breakpoint
在 Windows 7 64 位上使用 VS2008 会发生这种情况,在 XP 下不会发生同样的事情。调用堆栈上没有有用的符号表明为什么会发生这种情况,我可以通过在调试器中关闭异常来避免这个问题,但我想知道为什么会发生这种情况以及如何避免它。
【问题讨论】: