首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

这个c++写的dll怎么调用

2013-08-04 
这个c++写的dll如何调用啊分析得到dll函数名public: int __thiscall CIMONetClient::SendNotice(class std

这个c++写的dll如何调用啊
分析得到dll函数名
public: int __thiscall 
CIMONetClient::SendNotice(
class std::vector<struct STUserID,class std::allocator<struct STUserID> > const &,
class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > const &)
如何在c#中调用?
[DllImport("NetClient.dll", CharSet = CharSet.Auto, EntryPoint = "SendNotice")]
public static extern int SendNotice(int[] arr,String str);
这个SendNotice的参数应该如何写?
dll
[解决办法]
不要做A语言代码修改为B语言代码的无用功。
也不要做用A语言代码直接调用B语言代码库这样复杂、这样容易出错的傻事。
只需让A、B语言代码的输入输出重定向到文本文件,或修改A、B语言代码让其通过文本文件输入输出。
即可很方便地让A、B两种语言之间协调工作。

热点排行