I want to use a Comm DLL that has the following functions that use byte size parameters. How do I translate the VB declares below into a Blitzplus Userlib.decls file. To I need to use a void (*) for the byte parameters and pass a bank to the dll?
//Paste these declarations into your VB code...
//
//Declare Sub esInitUART Lib "EZSerial.dll" (ByVal iPort As Integer, ByVal iBaud As Integer, ByVal iParity As Byte, ByVal iBits As Byte, ByVal iStop As Byte)
//Declare Function esTxByte Lib "EZSerial.dll" (ByVal iPort As Integer, ByVal iByte As Byte) As Byte
//Declare Function esRxByte Lib "EZSerial.dll" (ByVal iPort As Integer, ByVal ParityChar As Byte) As Byte
//Declare Function esWaitforTxReady Lib "EZSerial.dll" (ByVal iPort As Integer) As Boolean
//Declare Function esRxReady Lib "EZSerial.dll" (ByVal iPort As Integer) As Boolean
//Paste these declarations into your VB code...
//
//Declare Sub esInitUART Lib "EZSerial.dll" (ByVal iPort As Integer, ByVal iBaud As Integer, ByVal iParity As Byte, ByVal iBits As Byte, ByVal iStop As Byte)
//Declare Function esTxByte Lib "EZSerial.dll" (ByVal iPort As Integer, ByVal iByte As Byte) As Byte
//Declare Function esRxByte Lib "EZSerial.dll" (ByVal iPort As Integer, ByVal ParityChar As Byte) As Byte
//Declare Function esWaitforTxReady Lib "EZSerial.dll" (ByVal iPort As Integer) As Boolean
//Declare Function esRxReady Lib "EZSerial.dll" (ByVal iPort As Integer) As Boolean