Appearance
Flo_AboutAPIEx
Declaration
C# public static extern int Flo_AboutAPIEx(out string Description, int length);
Delphi function Flo_AboutAPIEx(const aBuffer: PChar; const aBufferLength: Integer): Integer; stdcall;
Example
csharp
try
{
string APIDetails = new string[256];
Boolean result =FlowAPI.Flo_AboutAPIEx(out APIDetails, 256);
if (result) MessageBox.Show(APIDetails); else MessageBox.Show("Error getting API Version");
}
catch (Exception ex)
{
MessageBox.Show("Exception getting API version - " + ex.Message);
}pascal
Delphi
var buffer: array[0..255] of char;
try
Result := Flo_AboutAPIEx(pcAPIDetails, 256);
if Result then
showmessage(pcAPIDetails)
else
showmessage('Error getting API Version');
except
on e : exception do
showmessage('Exception getting API Version - ' + e.Message);
end;Description
Retrieves a text string containing the version of the FlowAPI.