Hello,
when I try to build the component under 10.4 I get an error in the line with the two stars at the star and the end: [dcc32 Error] DPF.iOS.Common.pas(1641): E2010 Incompatible types: 'TObject' and 'procedure, untyped pointer or untyped parameter'
procedure DisposeOfAndNil( var Obj ); // SZ added // careful: DisposeOf does not set Obj to nil, which means that then owning objects will not be freed until Obj goes completely out of scope {$IFDEF AUTOREFCOUNT} var a: TObject; begin pointer( a ) := pointer( Obj ); pointer( Obj ) := nil; a.DisposeOf; {$ELSE} begin ** System.SysUtils.FreeAndNil( Obj );** {$ENDIF} end;
Does anybody know which changes have to be done to DPF to use it under 10.4?
Log in to post a comment.
Hello,
when I try to build the component under 10.4 I get an error in the line with the two stars at the star and the end:
[dcc32 Error] DPF.iOS.Common.pas(1641): E2010 Incompatible types: 'TObject' and 'procedure, untyped pointer or untyped parameter'
Does anybody know which changes have to be done to DPF to use it under 10.4?
Last edit: Stefan Westner 2020-06-23