需要帮助导入本机DLL ?? [英] need help importing the native DLL??
本文介绍了需要帮助导入本机DLL ??的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
i有一个本机或非托管DLL,我将使用这个DLL来控制外部设备,我试图把它调用到c#但是我遇到了麻烦-Blittable类型......我试过编组这些类型,但我不确定我是否实现了它。??
提前感谢
Suzan
解决方案
i有一个本机或非托管DLL,我将使用这个DLL来控制一个外部设备,我试图将它调用到c#但我遇到了非Blittable类型的问题...我已经尝试了元帅这些类型,但我不确定我是否实现了它.. ??
例如;
展开 | 选择 | Wrap | 行号
你可以为你试图调用的函数发布C头吗?
展开 | 选择 | Wrap | 行号
Hi,
i have a native or an unmanaged DLL that i will use this DLL to conrol an external device and i have tried to call it into c# but i have trouble with non-Blittable types...i have tried marshal these types but i''m not sure whether i achieved it..??
thanks in advance
Suzan解决方案i have a native or an unmanaged DLL that i will use this DLL to conrol an external device and i have tried to call it into c# but i have trouble with non-Blittable types...i have tried marshal these types but i''m not sure whether i achieved it..??for example;
Expand|Select|Wrap|Line Numbers
Can you post C header for the function that you are trying to call?
Expand|Select|Wrap|Line Numbers
这篇关于需要帮助导入本机DLL ??的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文登录 关闭
扫码关注1秒登录发送“验证码”获取 | 15天全站免登陆