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所在的目录下,就可以了。
本文介绍如何在C#中启用混合模式调试,以便能够调用和调试C++Dll。通过在解决方案资源管理器中选择托管项目,然后在属性页中启用本机代码调试,可以实现C#和C++的联合调试。确保将Dll及其相关文件放置在exe目录下。
5506

被折叠的 条评论
为什么被折叠?



