This topic has been archived. It cannot be replied.
-
工作学习 / 专业技术讨论 / Dam啊,搞了一晚C# call c++ dll unmanaged code的问题,一直以为自己的sting->char *有问题,还google了一晚,最后才发现自己的C++代码有一行空指针!!@_@
-google2002(Google);
2006-2-21
(#2796005@0)
-
vc is easy to debug. why it take you so long? If you try gdb/gcc, this kind of problem will cost much more time.
-iwantcar(EnjoyStudying);
2006-2-21
(#2796035@0)
-
Don't know what you are talking about...
-canadiantire(轮胎-M.I.N.K.);
2006-2-21
(#2796414@0)
-
The problem is that you can't trace into DLL from C#. You can use the GUI version of GDB on Linux platform. For solaris, go for Workshop+cc
-google2002(Google);
2006-2-21
(#2796425@0)
-
1.I mean gcc on windows.
2. when there are null pointer and crash, vc will attach in the process. no need to trace in.
3. I know ddd, thanks.
-iwantcar(EnjoyStudying);
2006-2-21
(#2796600@0)
-
You still don't get my point: C# is not VC
-google2002(Google);
2006-2-21
(#2796757@0)
-
sorry. I don't know. sorry. forget it then.
-iwantcar(EnjoyStudying);
2006-2-21
(#2796820@0)