Subject | Re: [IBO] Looking for TIB_Import |
---|---|
Author | Jason Wharton |
Post date | 2002-02-28T01:37:19Z |
There was something added to it which made me unable to compile it in the
early versions. I have no idea what that issue was... I intend to leave it
this way *for now* unless someone will take the time and effort to see what
it was all about and get it to work with the earlier versions.
Thanks,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
early versions. I have no idea what that issue was... I intend to leave it
this way *for now* unless someone will take the time and effort to see what
it was all about and get it to work with the earlier versions.
Thanks,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: "Norman Dunbar" <norman.dunbar@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, February 27, 2002 3:01 AM
Subject: RE: [IBO] Looking for TIB_Import
> This might explain the missing TIB_Import component - I found this at the
> weekend because D6 has it, but C++ Builder 4 doesn't and I thought maybe
I'd
> messed it all up myself. The following is taken from IB_ToolsReg.pas and
> clearly excludes TIB_Import is using Delphi 4 and below (or C++ Builder 4
> and below).
>
> {$IFDEF IBO_VCL50_OR_GREATER}
> IB_Import,
> {$ENDIF}
>
> Checking the source code in IB_Import.pas has a comment which states that
it
> is suitable for Delphi 2/3/4 (and presumably C++ too) but having said
that,
> it still has a check for VCL40 or greater in it :
>
> {$IFDEF IBO_VCL40_OR_GREATER}
> if SectionExists('FIELDLIST') then
> {$ENDIF}
>
> However, I've modified the IB_ToolsReg.pas file as follows :
>
> Change this :
>
> {$IFDEF IBO_VCL50_OR_GREATER}
> IB_Import,
> {$ENDIF}
>
> To this :
>
> IB_Import,
>
> Then in Procedure register, change this :
>
> {$IFDEF IBO_VCL50_OR_GREATER} TIB_Import, {$ENDIF}
>
> To this :
>
> TIB_Import,
>
>
> In the IDE, Delphi or CPPB, Build the package IBO40TRT then build and
> install IBO40TDT and voila, a TIB_Import appears on the tools component
> pallette.
> Beware, I haven't tried this component out yet, so I haven't sent the
source
> to Jason for a possible future inclusion in IBO, but if someone out there
> has a need to try it out, then let me know how you get on.
>
> Enjoy.
>
> Regards,
> Norman
>
> PS. I helps a lot if you save the IB_ToolsReg.pas file in DOS mode and not
> in Unix mode (my editor default) because it stops the 'line > 1023
> characters at line 1' type error messages :o)
>
> -------------------------------------
> Norman Dunbar
> Database/Unix administrator
> Lynx Financial Systems Ltd.
> mailto:Norman.Dunbar@...
> Tel: 0113 289 6265
> Fax: 0113 289 3146
> URL: http://www.Lynx-FS.com