1) at Tools menu, add convert Delphi package to Lazarus package (add show
option to either convert each unit of the package, or add Delphi
compatibility compiler option to the package compiler options)
2) the Delphi unit to Lazarus unit could show a message that one could use
the Delphi-compatibility compiler option instead of using the converter
(which adds a {$MODE DELPHI} in the source, making it non-compilable in
Delphi). Also, anyway, wrap {$MODE DELPHI} in {$IFDEF LAZARUS}...{$ENDIF
LAZARUS}, where LAZARUS is some symbol that the Lazarus compiler defines (or
something like that), so that Delphi compiler ignores it and compiles ok.
Even better, could have used {$DEFINE FPC_MODE_DELPHI} instead of {$MODE
DELPHI}, but I assume that's an FPC thing
------------
George Birbilis ([EMAIL PROTECTED])
Microsoft MVP J# for 2004-2006
http://www.kagi.com/birbilis
http://www.mech.upatras.gr/~Robotics
http://www.mech.upatras.gr/~robgroup
_____
avast! Antivirus <http://www.avast.com> : Outbound message clean.
Virus Database (VPS): 0612-4, 25/03/2006
Tested on: 27/3/2006 9:33:26 ??
avast! - copyright (c) 1988-2005 ALWIL Software.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives