jonson1126
各种问题 各种方法 各种解决 路要自己走一遍才知个中滋味
摘要: \\Form1.Designer.csusing System.Runtime.InteropServices;//引入dll文件中的函数namespace WindowsApplication20130113{partial class Form1 { [DllImport("CommApi.dll")] private static extern bool SetSerialCom(Int32 nPort, Int32 lBaudRate, Int32 DataBit, Int32 lParity, Int32 lStopbit); [Dll... 阅读全文
posted @ 2013-01-18 09:48 jonson1126 阅读(421) 评论(0) 推荐(0) 编辑
摘要: vb6没有short类型,只有integer(Int16),long(Int32)vb.net有short(Int16),integer(Int32),long(Int64)所以,注意转换。另外,ByRef: 传地址;ByVal:传值 阅读全文
posted @ 2013-01-18 09:38 jonson1126 阅读(274) 评论(0) 推荐(0) 编辑
摘要: http://www.developerfusion.com/tools/convert/csharp-to-vb/ 阅读全文
posted @ 2013-01-18 09:26 jonson1126 阅读(110) 评论(0) 推荐(0) 编辑