摘要:
\\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... 阅读全文
摘要:
vb6没有short类型,只有integer(Int16),long(Int32)vb.net有short(Int16),integer(Int32),long(Int64)所以,注意转换。另外,ByRef: 传地址;ByVal:传值 阅读全文
摘要:
http://www.developerfusion.com/tools/convert/csharp-to-vb/ 阅读全文