摘要: 首先的引用RC500_232.dll和zlg500B.dll这两个dll功能是一样,只是zlg500B.dll的功能有多一些!如果是应用程序,将这两个dll放到bin文件夹中,如果是asp.net 程序 则将dll 放到系统盘中的system32文件夹中(using System.Runtime.InteropServices; 一定要添加这个命名空间!!!!!!)添加API申明如下: [DllImport("RC500_232.dll")] private static extern byte RC500_232_init(int mport, int mbaud); [ 阅读全文
posted @ 2011-06-24 14:37 ljlxyf 阅读(835) 评论(0) 推荐(1)