C#调用VC Dll,实现单步跟踪调试

2019-10-0910:21:17 评论 1,216 views

1.将VC生成的dll目录设置为C#相同的目录下:

在项目名上单击右键,选择“属性”-“配置属性”-“常规”:
file

2.将C#项目调试-启用调试器-启用非托管代码调试,勾选即可:

file

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: