X2UtNamedFormat compatibility with Delphi 2007
This commit is contained in:
parent
c249606540
commit
4d9a76cb35
@ -204,7 +204,9 @@ begin
|
|||||||
vtAnsiString: name := string(PChar(param.VAnsiString));
|
vtAnsiString: name := string(PChar(param.VAnsiString));
|
||||||
vtWideChar: name := string(param.VWideChar);
|
vtWideChar: name := string(param.VWideChar);
|
||||||
vtWideString: name := string(WideString(param.VWideString));
|
vtWideString: name := string(WideString(param.VWideString));
|
||||||
|
{$IF CompilerVersion >= 23}
|
||||||
vtUnicodeString: name := string(UnicodeString(param.VUnicodeString));
|
vtUnicodeString: name := string(UnicodeString(param.VUnicodeString));
|
||||||
|
{$IFEND}
|
||||||
else
|
else
|
||||||
raise Exception.CreateFmt('Parameter name at index %d is not a string value',
|
raise Exception.CreateFmt('Parameter name at index %d is not a string value',
|
||||||
[paramIndex div 2]);
|
[paramIndex div 2]);
|
||||||
|
Loading…
Reference in New Issue
Block a user