土
土土123
Unregistered / Unconfirmed
GUEST, unregistred user!
c++类型的函数,h文件原型是这样的:
EXPORTS BOOL CALLBACK Open_Com(unsigned char cPort, DWORD dwBaudrate, char cData, char cParity, char cStop);
EXPORTS WORD CALLBACK Change_Baudrate(unsigned char cPort, DWORD dwBaudrate);
EXPORTS WORD CALLBACK Change_Config(unsigned char cPort, DWORD dwBaudrate, char cData, char cParity, char cStop);
EXPORTS BOOL CALLBACK Send_Receive_Cmd(unsigned char cPort, char szCmd[], char
szResult[], WORD wTimeOut, WORD wChksum, WORD *wT);
请大虾帮忙翻译成delphi的写法
EXPORTS BOOL CALLBACK Open_Com(unsigned char cPort, DWORD dwBaudrate, char cData, char cParity, char cStop);
EXPORTS WORD CALLBACK Change_Baudrate(unsigned char cPort, DWORD dwBaudrate);
EXPORTS WORD CALLBACK Change_Config(unsigned char cPort, DWORD dwBaudrate, char cData, char cParity, char cStop);
EXPORTS BOOL CALLBACK Send_Receive_Cmd(unsigned char cPort, char szCmd[], char
szResult[], WORD wTimeOut, WORD wChksum, WORD *wT);
请大虾帮忙翻译成delphi的写法