|
@@ -7453,7 +7453,7 @@ begin
|
|
ptField:
|
|
ptField:
|
|
{$ifdef cpu8086}
|
|
{$ifdef cpu8086}
|
|
{ convert to the correct pointer type }
|
|
{ convert to the correct pointer type }
|
|
- AValue.Cast(FPropInfo^.PropType).ExtractRawData(PPointer(@(Pointer(Instance)+FPropInfo^.SetProc))^);
|
|
|
|
|
|
+ AValue.Cast(FPropInfo^.PropType).ExtractRawData(Pointer(Instance)+CodePtrUInt(FPropInfo^.SetProc));
|
|
{$else}
|
|
{$else}
|
|
AValue.Cast(FPropInfo^.PropType).ExtractRawData(Pointer(Instance)+PtrUInt(FPropInfo^.SetProc));
|
|
AValue.Cast(FPropInfo^.PropType).ExtractRawData(Pointer(Instance)+PtrUInt(FPropInfo^.SetProc));
|
|
{$endif}
|
|
{$endif}
|
|
@@ -8467,4 +8467,4 @@ initialization
|
|
{$ifdef SYSTEM_HAS_INVOKE}
|
|
{$ifdef SYSTEM_HAS_INVOKE}
|
|
InitSystemFunctionCallManager;
|
|
InitSystemFunctionCallManager;
|
|
{$endif}
|
|
{$endif}
|
|
-end.
|
|
|
|
|
|
+end.
|