Welcome![Sign In][Sign Up]
Location:
Search - dllimport

Search list

[OS programCOLOR

Description: 取得屏幕上的一个颜色.用到了 [DllImport(\"gdi32.dll\")] private static extern bool BitBlt( IntPtr hdcDest, // 目標設備的句柄 int nXDest, // 目標對像的左上角的X坐標 int nYDest, // 目標對像的左上角的X坐標 int nWidth, // 目標對像的矩形的寬度 int nHeight, // 目標對像的矩形的長度 IntPtr hdcSrc, // 源設備的句柄 int nXSrc, // 源對像的左上角的X坐標 int nYSrc, // 源對像的左上角的X坐標 int dwRop // 光柵的操作值 ) [DllImport(\"gdi32.dll\")] private static extern IntPtr CreateDC( string lpszDriver, // 驅動名稱 string lpszDevice, // 設備名稱 string lpszOutput, // 無用,可以設定位\"NULL\" IntPtr lpInitData // 任意的打印機數據 ) 这两个API
Platform: | Size: 1231 | Author: kl007 | Hits:

[Other resourceAsprise-OCR-CSharp-Windows_Server_32bit-4.0

Description: 识别图片上的文字,识别率有80% 附加c#调用 [DllImport(\"AspriseOCR.dll\")] static extern string craboOCR(string file, int type) private void GetVeryfyCode() { if(File.Exists(_imgPath))//ok now? { try { this.picbVeryfyCode.Image=System.Drawing.Bitmap.FromFile(_imgPath) _veryfyCode=craboOCR(_imgPath,-1) _veryfyCode=_veryfyCode.Substring(0,4) this.txtVeryfyCode.Text=_veryfyCode } catch(Exception e) { this.lblResult.Text+=e.Message } } }
Platform: | Size: 6479709 | Author: 似的 | Hits:

[Com PortPCommDLLCSharp调用包

Description: C#程序静态调用Pcomm.dll的文件和Pcomm.dll 2.0 namespace NewPort { public class OperPComm { [DllImport("PComm.dll", EntryPoint = "sio_open")] public static extern int sio_open(int port); [DllImport("PComm.dll", EntryPoint = "sio_ioctl")] public static extern int sio_ioctl(int port,int baud , int mode); [DllImport("PComm.dll", EntryPoint = "sio_DTR")] public static extern int sio_DTR (int port, int mode);
Platform: | Size: 28304 | Author: wzwgeorge | Hits:

[OS programCOLOR

Description: 取得屏幕上的一个颜色.用到了 [DllImport("gdi32.dll")] private static extern bool BitBlt( IntPtr hdcDest, // 目標設備的句柄 int nXDest, // 目標對像的左上角的X坐標 int nYDest, // 目標對像的左上角的X坐標 int nWidth, // 目標對像的矩形的寬度 int nHeight, // 目標對像的矩形的長度 IntPtr hdcSrc, // 源設備的句柄 int nXSrc, // 源對像的左上角的X坐標 int nYSrc, // 源對像的左上角的X坐標 int dwRop // 光柵的操作值 ) [DllImport("gdi32.dll")] private static extern IntPtr CreateDC( string lpszDriver, // 驅動名稱 string lpszDevice, // 設備名稱 string lpszOutput, // 無用,可以設定位"NULL" IntPtr lpInitData // 任意的打印機數據 ) 这两个API-To obtain a color screen. Use the [DllImport (gdi32.dll)] private static extern bool BitBlt (IntPtr hdcDest,// target device handle int nXDest,// target of the upper-left corner as the X coordinate int nYDest ,// target like the X coordinates of the upper-left corner int nWidth,// target like the width of the rectangle int nHeight,// target like the length of the rectangle IntPtr hdcSrc,// source device handle int nXSrc,// source as the upper-left corner of the X coordinate int nYSrc,// as the source of the X coordinates of the upper-left corner int dwRop// raster operation value) [DllImport (gdi32.dll)] private static extern IntPtr CreateDC ( string lpszDriver,// driver name string lpszDevice,// device name string lpszOutput,// useless, you can set bit NULL IntPtr lpInitData// any printer data) of these two API
Platform: | Size: 1024 | Author: kl007 | Hits:

[.netAsprise-OCR-CSharp-Windows_Server_32bit-4.0

Description: 识别图片上的文字,识别率有80% 附加c#调用 [DllImport("AspriseOCR.dll")] static extern string craboOCR(string file, int type) private void GetVeryfyCode() { if(File.Exists(_imgPath))//ok now? { try { this.picbVeryfyCode.Image=System.Drawing.Bitmap.FromFile(_imgPath) _veryfyCode=craboOCR(_imgPath,-1) _veryfyCode=_veryfyCode.Substring(0,4) this.txtVeryfyCode.Text=_veryfyCode } catch(Exception e) { this.lblResult.Text+=e.Message } } }-The text on the picture identification, identification rate of 80 surcharge c# Calls [DllImport ( AspriseOCR.dll )] static extern string craboOCR (string file, int type) private void GetVeryfyCode () (if (File.Exists (_imgPath) )// ok now? (try (this.picbVeryfyCode.Image = System.Drawing.Bitmap.FromFile (_imgPath) _veryfyCode = craboOCR (_imgPath,-1) _veryfyCode = _veryfyCode.Substring (0,4) this.txtVeryfyCode.Text = _veryfyCode) catch (Exception e) (this.lblResult.Text+ = e.Message)))
Platform: | Size: 6479872 | Author: 似的 | Hits:

[Compress-Decompress algrithmscs

Description: 这是专门为 C# 开发者定制的 ZC030X 编程接口。C# 开发者可以如下方式进行调用: 首先需要进行声明: ... using System.Runtime.InteropServices public class win32{ [DllImport("zc030xlib.dll", EntryPoint = "capInitCamera")] public static extern int capInitCamera() }-This is specifically for the C# Developer ZC030X customized programming interface. C# Developers can call the following manner: First of all, the need for a statement: ... using System.Runtime.InteropServices public class win32 ([DllImport (
Platform: | Size: 14336 | Author: mike | Hits:

[Windows DevelopDLLdiaoyong

Description: 动态连接库的调用测试 __declspec(dllimport) -Dynamic Link Library call test __declspec (dllimport)
Platform: | Size: 3625984 | Author: 顾东国 | Hits:

[OS programMobileFullScreen

Description: WINCE full screen application sample! DllImport, IntPtr, coredll.dll, vs2008-WINCE full screen application sample! DllImport, IntPtr, coredll.dll, vs2008
Platform: | Size: 31744 | Author: | Hits:

[CSharpDllImport

Description: Dll注入辅助工具1·0C源码 黑客基地 下载的 说白了,不是我写的,大家看上的就拿去吧 我不收钱!-Dll injection tool 1.0 C source said hackers download white base, is not written by me, watch the U.S. do not take my money go!
Platform: | Size: 159744 | Author: 崔杰 | Hits:

[Multimedia DevelopG722_1Decoder

Description: G722_1Decoder 是一个基于C的可供移植的DLL, 可以用于引入到.Net程序,只需调用DllImport即可方便地在.Net Project 里使用,可用于多媒体在网络中的实时音频传输和播放。-Is a G722_1Decoder of available C based on the DLL, can be used for the introduction of the. Net program, simply call the DllImport can easily. Net Project in use, can be used for multi-media in the network of real-time audio and video transmission.
Platform: | Size: 70656 | Author: yun | Hits:

[Multimedia programplaymultimedia_vivek

Description: low level sound player , play any sound file using [DllImport("winmm.dll")] private static extern long mciSendString( string strCommand, StringBuilder strReturn, int iReturnLength, IntPtr oCallback) with c#-low level sound player , play any sound file using [DllImport("winmm.dll")] private static extern long mciSendString( string strCommand, StringBuilder strReturn, int iReturnLength, IntPtr oCallback) with c#
Platform: | Size: 52224 | Author: hasbe allah | Hits:

[OS programdll_Is_Sample1

Description: dll 实现起来很简单:方法1。通过DLLEXPORT 和dllimport 实现d-dll to achieve is simple: Method 1
Platform: | Size: 20480 | Author: haol | Hits:

[Graph Recognizetwainapp.source.2.0.8

Description: .NET TWAIN image scanner-Abstract In Windows imaging applications, the most used API for scanning is TWAIN www.twain.org. Unfortunately, the new .NET Framework has no built-in support for TWAIN. So we have to work with the interop methods of .NET to access this API. This article doesn t explain this interop techniques, and good knowledge of the TWAIN 1.9 specifications is assumed! The sample code included doesn t present a finished library, only some essential steps for a minimal TWAIN adaption to .NET applications. Details First step was to port the most important parts of TWAIN.H, these are found in TwainDefs.cs. The real logic for calling TWAIN is coded in the class Twain, in file TwainLib.cs.. As the TWAIN API is exposed by the Windows DLL, twain_32.dll, we have to use the .NET DllImport mechanism for interop with legacy code. This DLL has the central DSM_Entry(), ordinal#1 function exported as the entry point to TWAIN. This call has numerous parameters, and the last one is of variable type! It was f
Platform: | Size: 2310144 | Author: dlwxn | Hits:

[Windows Developnetmv

Description: 文件切割 核心是 [DllImport("vidoClip.dll")] public static extern void vidoClip(int a, int b, StringBuilder path, StringBuilder outpath)-file cut cure is “ [DllImport("vidoClip.dll")] public static extern void vidoClip(int a, int b, StringBuilder path, StringBuilder outpath) ”
Platform: | Size: 98304 | Author: hitler | Hits:

[CSharpmmclibrary2

Description: c#调用MMC的代码示例 包括DLLImport代码-C# code for how to invoke the dll to control the MMC
Platform: | Size: 821248 | Author: hunter su | Hits:

[Driver DevelopDlPortIOWrapper2012

Description: I ve been using Port95NT s DlPortIO.dll to read/write bits to my parallel port for many years with C++ by using the associated DlPortIO.lib and a custom wrapper class. Since I ve moved to (mostly) C#, I wanted to create a managed assembly to standardize the interface to DlPortIO.dll. I started by using the DllImport attribute, then for kicks took a left turn into exploring the use of the .lib that comes with the DLL.
Platform: | Size: 10240 | Author: ibm1001 | Hits:

[CSharpdmcdll

Description: DMC5400 motion controller card s dllimport in c#.
Platform: | Size: 2048 | Author: P B | Hits:

[VC/MFCwxz

Description: C#进行平台互调用总是很麻烦,不像C++调用的使用,人家厂商把.h文件都写好了,C#中的函数声明得自己来写,差一点都不行。不少人走了不少弯路,甚至对用.net来做工控程序界面失去了信心。为了节省广大开发人员的时间,将我写的一组好使好使的DllImport共享给大家。-C# platform interaction calls are always a lot of trouble, unlike the C++ calls to use others vendors. H file written in C# function declaration ll have to write, and almost will not work. A lot of people quite a few detours, and even to do the IPC program interface. Net loss of confidence. In order to save the majority of developers time, the DllImport I wrote a set of so-good for everyone to share.
Platform: | Size: 1024 | Author: wenxiaozhe | Hits:

[CSharpReflectDLL

Description: 实现C#反射调用DLL,可以动态调用,抛弃了往常的DLLImport用法,方便快捷。-To achieve C# reflection call the DLL can be dynamically invoked, abandoned usual DLLImport usage, quick and easy.
Platform: | Size: 41984 | Author: bo | Hits:

[Windows DevelopCSharp---DllImport

Description: Windows phone DLL import development
Platform: | Size: 3302400 | Author: Joe | Hits:
« 12 »

CodeBus www.codebus.net