用vb6 做一个 dll 文件,
要用到串口,
怎么做啊!
提示一下
先谢了!!!

解决方案 »

  1.   

    dll 中好像不能使用控件,
    另外用Public Declare Function CreateFile Lib "KERNEL32" Alias "CreateFileA" (ByVal lpFileName As String, ByVal dwDesiredAccess As Long, ByVal dwShareMode As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES, ByVal dwCreationDisposition As Long, ByVal dwFlagsAndAttributes As Long, ByVal hTemplateFile As Long) As Long的时候提示用户类型末定义怎么回事?