当前位置:编程学习 > C#/ASP.NET >>

DllImport 调用问题

有个DLL 名为 cyp.dll
如果直接引用的话,使用方法如 下:

cype c = new cype();

int i;
i= c.intformat(string);

如果用dllimport怎么写?

我只知道 [DllImport("cyp.dll")]

求下面的写法!! --------------------编程问答-------------------- c.intformat(string)这个方法的原型是怎样的,尤其是参数
[DllImport("cyp.dll")]
public extern int intformat()
补充:.NET技术 ,  C#
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,