资源简介
程序免注册大漠插件,WinForm调用大漠插件dm.dll。实现找字、找图、截图、打字等功能,需要.Net FrameWork4.5

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace CShapDM
{
///
/// 大漠插件C#免注册调用类
/// 本模块必须包含dmc.dll 实现不用注册dm.dll 到系统可以动态调用
///
class CDmSoft : IDisposable
{
#region import DLL 函数
[DllImport(“dmc.dll“CharSet = CharSet.Unicode CallingConvention = CallingConvention.StdCall)]
public static extern IntPtr CreateDM(string dmpath);
[DllImport(“dmc.dll“ CharSet = CharSet.Unicode CallingConvention = CallingConvention.StdCall)]
public static extern int FreeDM();
[DllImport(“dmc.dll“ CharSet = CharSet.Unicode CallingConvention = CallingConvention.StdCall)]
public static extern string Ver(IntPtr dm);
[DllImport(“dmc.dll“ CharSet = CharSet.Unicode CallingConvention = CallingConvention.StdCall)]
public static extern int SetPath(IntPtr dmstring path);
[DllImport(“dmc.dll“ CharSet = CharSet.Unicode CallingConvention = CallingConvention.StdCall)]
public static extern string Ocr(IntPtr dmint x1int y1int x2int y2string colordouble sim);
[DllImport(“dmc.dll“ CharSet = CharSet.Unicode CallingConvention = CallingConvention.StdCall)]
public static extern int FindStr(IntPtr dmint x1int y1int x2int y2string strstring colordouble simout object xout object y);
[DllImport(“dmc.dll“ CharSet = CharSet.Unicode CallingConvention = CallingConvention.StdCall)]
public static extern int GetResultCount(IntPtr dmstring str);
[DllImport(“dmc.dll“ CharSet = CharSet.Unicode CallingConvention = CallingConvention.StdCall)]
public static extern int GetResultPos(IntPtr dmstring strint indexout object xout object y);
[DllImport(“dmc.dll“ CharSet = CharSet.Unicode CallingConvention = CallingConvention.StdCall)]
public static extern int StrStr(IntPtr dmstring sstring str);
[DllImport(“dmc.dll“ CharSet = CharSet.Unicode CallingConvention = CallingConvention.StdCall)]
public static extern int SendCommand(IntPtr dmstring cmd);
[DllImport(“dmc.dll“ CharSet = CharSet.Unicode CallingConvention = CallingConvention.StdCall)]
public static extern int UseDict(IntPtr dmint index);
[DllImport(“dmc.dll“ CharSet = CharSet.Unicode CallingConvention = CallingConvention.StdCall)]
public static extern string GetbasePath(IntPtr dm);
[DllImport(“dmc.dll“ CharSet = CharSet.Unicode CallingConvention = CallingConvention.StdCall)]
public static extern int SetDictPwd(IntPtr dmstring pwd);
[DllImport(“dmc.dll“ CharSet = CharSet.Unicode CallingConvention = CallingConvention.StdCall)]
public static extern string OcrInFile(IntPtr dmint x1int y1int x2int y2string pic_namestring colordouble sim);
[DllIm
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4846 2013-06-05 14:48 03调用大漠插件\03调用大漠插件.csproj
文件 227 2013-06-05 14:30 03调用大漠插件\03调用大漠插件.csproj.user
文件 187 2013-06-04 14:17 03调用大漠插件\App.config
文件 76800 2014-12-30 20:51 03调用大漠插件\bin\Debug\03调用大漠插件.exe
文件 187 2013-06-04 14:17 03调用大漠插件\bin\Debug\03调用大漠插件.exe.config
文件 159232 2014-12-30 20:51 03调用大漠插件\bin\Debug\03调用大漠插件.pdb
文件 24224 2016-08-11 10:39 03调用大漠插件\bin\Debug\03调用大漠插件.vshost.exe
文件 187 2013-06-04 14:17 03调用大漠插件\bin\Debug\03调用大漠插件.vshost.exe.config
文件 490 2012-06-06 02:06 03调用大漠插件\bin\Debug\03调用大漠插件.vshost.exe.manifest
文件 823296 2013-06-04 14:18 03调用大漠插件\bin\Debug\dm.dll
文件 390656 2013-06-04 14:18 03调用大漠插件\bin\Debug\dmc.dll
文件 1359 2014-04-11 19:46 03调用大漠插件\bin\Debug\screenshot.png
文件 178 2013-06-05 14:48 03调用大漠插件\bin\Debug\word.txt
文件 2252 2013-06-04 15:14 03调用大漠插件\bin\Debug\yuan.bmp
文件 109231 2013-06-04 20:23 03调用大漠插件\CDmSoft.cs
文件 60 2013-06-05 10:09 03调用大漠插件\ClassDiagram1.cd
文件 5630 2014-12-30 20:51 03调用大漠插件\Form1.cs
文件 9771 2014-12-30 20:51 03调用大漠插件\Form1.Designer.cs
文件 6165 2014-12-30 20:51 03调用大漠插件\Form1.resx
文件 402 2013-06-05 13:40 03调用大漠插件\Form2.cs
文件 2930 2013-06-05 13:40 03调用大漠插件\Form2.Designer.cs
文件 5817 2013-06-05 13:40 03调用大漠插件\Form2.resx
文件 402 2013-06-05 14:45 03调用大漠插件\Form3.cs
文件 2894 2013-06-05 14:45 03调用大漠插件\Form3.Designer.cs
文件 5817 2013-06-05 14:45 03调用大漠插件\Form3.resx
文件 2630 2016-08-11 10:39 03调用大漠插件\obj\Debug\03调用大漠插件.csproj.FileListAbsolute.txt
文件 1210 2014-12-30 20:51 03调用大漠插件\obj\Debug\03调用大漠插件.csproj.GenerateResource.Cache
文件 2209 2013-08-28 09:16 03调用大漠插件\obj\Debug\03调用大漠插件.csprojResolveAssemblyReference.cache
文件 76800 2014-12-30 20:51 03调用大漠插件\obj\Debug\03调用大漠插件.exe
文件 159232 2014-12-30 20:51 03调用大漠插件\obj\Debug\03调用大漠插件.pdb
............此处省略31个文件信息
- 上一篇:基于ASP.NET+C#实现的超市管理系统
- 下一篇:c#多文档处理程序
相关资源
- C#解析HL7消息的库135797
- C# OCR数字识别实例,采用TessnetOcr,对
- 考试管理系统 - C#源码
- asp.net C#购物车源代码
- C#实时网络流量监听源码
- C#百度地图源码
- Visual C#.2010从入门到精通配套源程序
- C# 软件版本更新
- C#屏幕软键盘源码,可以自己定制界面
- 智慧城市 智能家居 C# 源代码
- c#获取mobile手机的IMEI和IMSI
- C#实现简单QQ聊天程序
- 操作系统 模拟的 欢迎下载 C#版
- C#写的计算机性能监控程序
- 用C#实现邮件发送,有点类似于outlo
- MVC model层代码生成器 C#
- c#小型图书销售系统
- C# Socket Server Client 通讯应用 完整的服
- c# winform 自动登录 百度账户 源代码
- C#编写的16进制计算器
- C#TCP通信协议
- C# 数据表(Dataset)操作 合并 查询一
- C#语音识别系统speechsdk51,SpeechSDK51L
- 数据库备份还原工具1.0 C# 源码
-
[免费]xm
lDocument 节点遍历C# - EQ2008LEDc#开发实例
- DirectX.Capturec# winform 操作摄像头录像附
- c# 实现的最大最小距离方法对鸢尾花
- C#版保龄球记分代码
- C#自定义控件
评论
共有 条评论