No Symbols loaded in mixed C# C(win32) project using VS2010

后端 未结 3 476
遇见更好的自我
遇见更好的自我 2021-01-03 02:39

My project has several new C# modules and one C module (not C++) compiled using win32 system calls. I\'m using the PInvoke interop layer to call the C code from the C#. Th

3条回答
  •  温柔的废话
    2021-01-03 03:16

    I have a Windows Service in C# with a C++ DLL. The problem I saw was what Max noted:

    • The DLL worked, but never showed up in the Modules window.

    I have done a lot of searching and this is a nice list which matches with information from many other sources.

    To make ikh's note explicit:

    • "Auto" did not work for me, but explicitly setting "Native" and "Managed" code in the Attach dialog worked.

提交回复
热议问题