Nadir New member Apr 30, 2019 #1 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.
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.
gdgsupport Support Staff member Apr 30, 2019 #2 Nadir said: Result := “”; Click to expand... Looks like the " (quote) character isn’t the valid one. Last edited: May 2, 2019
Nadir New member May 2, 2019 #3 tks you, how i can solve the problem please. error code: unknown method or routine: ‘SetLength’
gdgsupport Support Staff member May 3, 2019 #4 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: May 6, 2019
SetLength isn’t defined. Do not use it. BTW have you contacted Obsidium support to get updated Obsidium code for recent ExeOuput versions?
Nadir New member May 6, 2019 #7 I contacted Obsidium suppot and they give me an updated version of the code thanks you so match.