Why this script show a syntax error

Nadir

New member
Hi, why this script show a syntax error?
function getLicenseInfo(infoNr: String): String;
var
buf: AnsiString;
begin
SetLength(buf, 128);
if obsGetLicenseInfo(StrToInt(infoNr), buf) then
Result := buf
else
Result := “”;
end;
tks you.
 
tks you,
how i can solve the problem please.
error code: unknown method or routine: ‘SetLength’
 
SetLength isn’t defined. Do not use it.
BTW have you contacted Obsidium support to get updated Obsidium code for recent ExeOuput versions?
 
Last edited:
I contacted Obsidium suppot and they give me an updated version of the code thanks you so match.
 
Back
Top