串口通讯能否用pb做成动态连接库的形式?(急)
通过调用动态连接库不同的函数对硬件进行不同操作?但是有些重要的函数不能用,例如createfile()(打开端口)函数,有何方法?pb的com/mts生成dll,其中的dll原程序又调用API函数,即申请外部API函数
FUNCTION ulong CreateFile(ref string lpFileName, ulong dwDesiredAccess, ulong dwShareMode, long lpSecurityAttributes, ulong dwCreationDisposition, ulong dwFlagsAndAttributes, long hTemplateFile) Library "KERNEL32.DLL" Alias for "CreateFileA"