使用dll(在C中编写)来制作另一个dll(用C语言编写)并在C#上使用它 [英] use a dll (writen in C) for make another dll (writen in C) and use it on C#
问题描述
大家好,我在使用dll时遇到了麻烦。
这是我的情况:
我在C ++中编写了一个SDK, 我在C ++中为Windows Mobile做了一个proyect来测试你的运行,现在我在
之后制作了一个用于C#的应用程序的DLL
此链接。
当我在C#中使用带有C函数的生成DLL它工作正常,但是当我尝试使用SDK的某些函数生成dll并在C#项目上使用它时编译正常但是当运行程序时这个封锁自己,有人有个主意,我怎么办
呢?b
提前致谢
  ;
PD:我使用VS2008和Windows Mobile 6.5
我不完全了解你的问题。你可以发布你正在调用的代码样本和你得到的错误吗?
谢谢,
PaulH
Hello everyone, I have a trouble with the dll's use.
This is the my case:
I have a SDK writen in C++, I make a proyect for windows mobile in C++ for test your running, Now I make a aplication's DLL for use in C# following
this link.
When I use in C# the generate DLL with C funtions It work fine, but when I try use some function of the SDK for generate the dll and use it on C# project this compile fine but when a run the program this blocked itself, Somebody have an idea, How can I to do
it?
Thanks in advance
PD: I use VS2008 and windows mobile 6.5
I don't fully understand your issue. Can you post a sample of the code you're calling and the error you're getting?
Thanks,
PaulH
这篇关于使用dll(在C中编写)来制作另一个dll(用C语言编写)并在C#上使用它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!