Using C# COM in unmanaged C++ project -> First-chance exception at 0x7697C41F (KernelBase.dll)

前端 未结 1 780
陌清茗
陌清茗 2020-12-06 20:10

I\'m trying to call methods from a C# COM project in an unmanaged Visual C++ solution, but I keep getting the next error

First-chance exception at 0x7697C41F         


        
相关标签:
1条回答
  • 2020-12-06 20:30

    Exceptions whose exception code is less than 0x80000000 are non-fatal exceptions. They tend to be used to pass information. The shoe fits here, exception code 0x04242420 has been reverse-engineered to CLRDBG_NOTIFICATION_EXCEPTION_CODE, type the number in a google query to see the hits. This answer from a Microsoft employee is probably the most reliable one:

    Out of curiosity I did a little digging and found that this is actually an undocumented exception (CLRDBG_NOTIFICATION_EXCEPTION_CODE) that is apparently an addition to the IPC protocol used by the managed debugger in the 4.0 CLR. It should be entirely safe to ignore.

    0 讨论(0)
提交回复
热议问题