using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;namespace Yeeu.QuestionnaireSystem
{
public class dllClass
{
[DllImport("OmrUsbBS.dll")]
public static extern int OmrInit();
[DllImport("OmrUsbBS.dll")]
public static extern int OmrS(String buf);
[DllImport("OmrUsbBS.dll")]
public static extern int OmrG(StringBuilder buff);
[DllImport("OmrUsbBS.dll")]
public static extern int OmrClose();
}
}
完全不明白 这个类 到底是什么意思 而且项目里也没有OmrUsbBS.dll的文件
这个是 公司 以前的一个项目,以前做这个项目的人走了 ,没人能看懂···特求高手 帮忙 解释一下~
不胜感激~
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;namespace Yeeu.QuestionnaireSystem
{
public class dllClass
{
[DllImport("OmrUsbBS.dll")]
public static extern int OmrInit();
[DllImport("OmrUsbBS.dll")]
public static extern int OmrS(String buf);
[DllImport("OmrUsbBS.dll")]
public static extern int OmrG(StringBuilder buff);
[DllImport("OmrUsbBS.dll")]
public static extern int OmrClose();
}
}
完全不明白 这个类 到底是什么意思 而且项目里也没有OmrUsbBS.dll的文件
这个是 公司 以前的一个项目,以前做这个项目的人走了 ,没人能看懂···特求高手 帮忙 解释一下~
不胜感激~
解决方案 »
- 我要将XML作为数据库使用,我如何判断插入是否成功?
- xna游戏开发有好点的教程吗
- form编程中如何在datagrid中选中多行,并使用Ctrl+C能够将选定内容复制进剪贴板------急阿
- 谁知道怎样去掉 MDI 父窗口中右上角的三个控制按钮?
- 好像C:\Inetpub\wwwroot下的工程名没有办法可以修改啊?
- 哪儿有C#数据库的电子书下载啊?????
- C#如何对同一张表进行插入和查询操作???
- dataview的rowfilter可以根据datatable的行号,过滤需要的行出来么?
- 在TextBox中,如何修改用户输入的字符?
- 有谁用(tcp/ip)做的c/s结构的,实现把文件从C端上传到S端,并保存到S端硬盘的源代码?多谢,在线,给出,立即给分,剩余的分全给了!:)
- listview中Items的forcolor或者backcolor更改闪烁的问题?
- 关于label数据绑定
public static extern int OmrInit();//dll中的方法
[DllImport("OmrUsbBS.dll")]
public static extern int OmrS(String buf);
[DllImport("OmrUsbBS.dll")]
public static extern int OmrG(StringBuilder buff);
[DllImport("OmrUsbBS.dll")]
public static extern int OmrClose();
這個類的作用通過個類直接調用OmrUsbBS.dll時定義的函數或者方法。
如果這個文件丟失了,原代碼又找不到就不要玩了。