I am trying to make an EB include file for the DLL int the Elektor Magazine serial port driver: http://www.ionicwind.com/forums/index.php/topic,3253.0.html
The example given is coded in Delphi, which is totally unknown to me. But I hope anyone here have Delphi experience and can answer my questions.
The functions found like this:
function COMPortExists (port : integer):integer;stdcall;
function BaudRateSet (baud:cardinal):Boolean;stdcall;
Will it be correct to "translate" the first declaration into EB-code like this: DECLARE IMPORT COMPortExists(int port), int
What is the EB equivalent to the Delphi variable type "cardinal"?
Is "Boolean" the equivalent to EB's "char" ?
Cardinal is currently an unsigned integer (UINT) in Delphi.
Boolean = INT as well.
Thanks Paul!