C# 调试 C++ Dll
一般使用英文界面
To enable mixed-mode debugging (C# or VB calling app)
In Solution Explorer, select the managed project.
On the View menu, click Property Pages.
In the Property Pages dialog box, select the Debug tab, and then select Enable native code debugging
Enable native code debugging
把dll以及一起生成的文件扔进exe所在的目录下,就可以了。