Whenever I run my application under the debugger, I get the following exception when using CFileDialog to find the file to open
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
This happens using VS2008 on the 64-bit version of Windows 7, but this does not happen on XP. There are no useful characters in the call stack to indicate why this is happening, and I can avoid the problem by simply turning off the exceptions in the debugger, but I wonder why this is happening and how to avoid it.
source share