On 30/06/15 20:54, silvioprog wrote:
> The code above compiles fine in Delphi (tested in XE 7), but in FPC I
> got the following compiling error:
> 
> Unit1.pas(46,14) Error: Incompatible types: got "<class method type of
> procedure({Open} Array Of Byte;out AnsiString) of object;Register>"
> expected "<procedure variable type of procedure({Open} Array Of Byte;out
> AnsiString);Register>".
> 
> Is this a bug or I need to enable some switch?

FPC currently only supports that in Delphi mode:
http://bugs.freepascal.org/view.php?id=27414


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to