Hello.
Can you give an example in Delphi of how to use the Enigma API, specifically the EP_EnigmaVersion method to obtain the version, please? I'm not sure how to do it. With version 7.2, I'm getting 1812, but I don't understand what to do with this value.
EP_EnigmaVersion Delphi
Re: EP_EnigmaVersion Delphi
Hi, this could be looking as following:
Code: Select all
var
version : Cardinal;
begin
version := EP_EnigmaVersion;
WriteLn('Enigma version: ' + IntToStr(version shr 8 and $FF) + '.' + IntToStr(version and $FF));
end;