In our previous episode, cobines said: > > {$LINKLIB bz2} > function BZ2_bzCompressInit(...): Integer; stdcall; external name > '_bz2_bzcompressi...@16'; > > Is there a way I can declare the external function to use "C" style mangling?
That's (VB like) decoration, not C mangling. Only VS compilers use it. Afaik Delphi supports it neither. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal