I sent a couple of AV fixes and a TZParam -> Unsupported variant type error on GitHub.
Code: Select all
Var
x, y: TZParam;
Begin
// ofc create them I'm just lazy...
x.AsUInt64 := 54;
y.Value := x.Value; // Exception is raised here
End;
Moderators: gto, cipto_kh, EgonHugeist, mdaems
Code: Select all
Var
x, y: TZParam;
Begin
// ofc create them I'm just lazy...
x.AsUInt64 := 54;
y.Value := x.Value; // Exception is raised here
End;
Code: Select all
{$IF Declared(varUInt64)}
varUInt64: SetAsUInt64(TVarData(Value).VUInt64);
{$IFEND}
Code: Select all
{$IF Declared(varUInt64)}
{$IFDEF FPC}
varqword: Statement.SetULong(Index, TVarData(V).vword64);
{$ELSE}
varUInt64: Statement.SetULong(Index, TVarData(V).VUInt64);
{$ENDIF}
{$IFEND}