On 11/27/06, Andrew Brunner <[EMAIL PROTECTED]> wrote:
I'm having a problem integrating one of my own Delphi 2006 Units.  It uses
TFormatSettings located in the RTL SysUtils.Pas.  I tried to add the code to
the …fpc\2.0.4\source\rtl\win32\SysUtils.pp but I can't
figure out how to get Lazarus to rebuild the RTL source of FPC 2.0.4.

It's probably better to use IFDEFs around the code that doesn't work
on fpc. I don't think you can simply copy code from delphi RTL.

{$ifndef fpc}
...
{$else}
 fpc equivalent code
{$endif}

I don't know what is the fpc equivalent code. For a quick test you can
simply not write anything on the fpc part.

--
Felipe Monteiro de Carvalho

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to