开发者

Is there a way to run a debugger on SmartDevice C++ DLL when it runs inside SmartDevice C# application?

开发者 https://www.devze.com 2023-03-21 13:52 出处:网络
I am using SmartDevice C++ DLL for my SmartDevice C# app开发者_StackOverflowlication as follows: using System.Runtime.InteropServices;

I am using SmartDevice C++ DLL for my SmartDevice C# app开发者_StackOverflowlication as follows:

using System.Runtime.InteropServices;

[DllImport("myCppDll.dll")]
private static extern bool Foo();

But it seems that there are a lot of bugs inside the DLL.

Strange thing is that when I test the DLL on Visual C++ project, every method inside the DLL works fine.

It seems that I get problems when I import the DLL into SmartDevice C# application.

I really want to run a debugger on the DLL not the C# application.

But Visual Studio 2008 does not support the option. (I think. I maybe wrong.)

Please someone tell me that I am wrong and I can run a debugger on the DLL in this situation.

0

精彩评论

暂无评论...
验证码 换一张
取 消