I could not find any explanation about TVarData in x64. There is a page in the help, but it looks like TVarData on x64 and TVarData on x86 are different. I'm actually trying to compile DEHL for an x64 target. But he says "Invalid type" on this line: (Source is TVarData)
Big := TBigCardinalVarData(Source).BigCardinalPtr^;
And TBigCardinalVarData is here:
TBigCardinalVarData = packed record VType: TVarType; Reserved1, Reserved2, Reserved3: Word; BigCardinalPtr: PBigCardinal; Reserved4: LongWord; end;
It compiles on x86, but it refuses to compile on x64. I think the problem is with the Word and LongWord variables. But I still could not understand.
source share