导入DLL是不是这样呢?
[DllImport("Mos200Dll.dll")]
public static extern void GetScanPic(string sFile,int a);
[DllImport("Mos200Dll.dll")]
public static extern void OmrS(string[] args);
[DllImport("Mos200Dll.dll")]
public static extern string[] OmrG()
[DllImport("Mos200Dll.dll")]
public static extern void GetScanPic(string sFile,int a);
[DllImport("Mos200Dll.dll")]
public static extern void OmrS(string[] args);
[DllImport("Mos200Dll.dll")]
public static extern string[] OmrG()
解决方案 »
- C#windows桌面窗体应用程序(winxp)如何转成智能设备应用程序(wince)
- c# chart图像清除的问题?
- 传说指针效率高,网友帮忙把这个简单方法改成指针的。。。
- 网上居然搜不到一个可用的c#视频聊天程序 悲哀
- 各位大虾,救命啊!!!
- 用C/S系统时应该用什么方法做通用窗口呢???
- 怎样判断update成功,以及更新数据的行数,以及锁表时候更新失败?
- httpwebrequest获取cookie不全的问题(有图有代码,目前无真相...)
- 请问高手用C#如何在服务器上开发电子邮箱(实现收、发功能),在线等待中......
- 请教,用C#写一个复数类!
- winform访问网页中的javascript,就这些分了。。。帮忙啊
- label 和 pictureBox 叠加位置
public static extern xxxx xxxxxx();
public static extern xxxx 你想用的函数();
另一个函数是得返回值的sring aa=OmrG()
这该如何写导入呢?