Board index » cppbuilder » RxLib components for C++Builder 5

RxLib components for C++Builder 5

Hi folks,

I just pulled won RxLib 2.75 and I'm trying to get it to build under C++Builder 5. I played around with the RX.INC file
(added defines for VER135 which I am assuming is the C++Builder5 version tag). The Rxctl package compiles and links
fine, but the RXDB package complains during the link that it can't find BDECONST.OBJ  - I have looked all over for where
this is being referenced, but with no luck.

Has anyone tried to do this build yet? If so, how did you get it going?

Thanks,
Russ

 

Re:RxLib components for C++Builder 5


This topic was discussed a few weeks ago and the conclusion was:

Quote
----- Original Message -----
From: "Tom Woodrow" <tomwood...@internetconnect.net>
To: "The Bits C++Builder Tech Discussion List" <CBuil...@listbot.com>
Sent: Friday, March 10, 2000 5:16 PM
Subject: Re: RX libs for BCB5, anyone?

> The Bits C++Builder Tech Discussion List -

http://www.richplum.co.uk/cbuilder/interactive/default.html
Quote

> I copied this from a Borland News Group last evening and make no claim
> that it will work. But, good luck.

> Tom Woodrow

> /////////////////////////////////////////////
> RX-LIB for CBuilder 5

> Here are the steps.

> 1. I re-downloaded a fresh copy of rxtools from torrys with the d5 fix:
> http://torry.9bit.qc.ca/vcl/packs/rxlib.zip
> http://torry.9bit.qc.ca/vcl/packs/rxfix.zip

> If you already have the files just skip to the following steps.  The
> prcoedure is the
> same as last year for bcb4.

> 2. In Rx.inc place this in the file:

> {$IFDEF VER130} { Borland C++Builder 5.0 }
>   {$DEFINE CBUILDER}
>   {$ObjExportAll On}
>   {$UNDEF DCS}
>   {$UNDEF RX_MIDAS}
> {$ENDIF}

> Since you will already have the following lines in there for compiler
> 130,
> you will need to
> comment them out like this.  Just add the periods or delete the 5 lines.

> {.$IFDEF VER130} { Borland Delphi 5.0 }
>   {.$DEFINE RX_D3}
>   {.$DEFINE RX_D4}
>   {.$DEFINE RX_D5}
> {.$ENDIF}

> 3. In Rx.inc remove the period from this line, this bypasses the error
> for
> Guages.obj

> {$IFDEF WIN32}
> {.$DEFINE USE_PROGRESSBAR}  // Remove the period from this line
> { Activate this define if you do not want to use TGauge Borland sample
> component in TDBProgress
> component and FileUtil routines. In this case   TProgressBar component
> will
> be used }
> {$ENDIF}

> 4. In Rxconst.pas place this in there:

> {$IFDEF VER130}
> const
>   SDelphiKey = 'Software\Borland\C++Builder\5.0';
> {$ENDIF}

> There is also a line in rxconst.pas that has the same line, but it
> points to
> delphi 5, i replaced it with
> the line above.

> {$IFDEF VER130}
> const
>   SDelphiKey = 'Software\Borland\Delphi\5.0'; // Replace this line and
> it
> will become the line above.
> {$ENDIF}

> Read the rxfile readme.txt and follow install instructions, when you get
> to
> the last file which is DCLRXDB.BPK,
> you will get an error stating that it cannot find Dsgnintf.dcu.  Well
> according to the helpfile you should add the
> following line in your code as:
> --------------------------------------------------------------------------
--
> ----------------------
> Compiling packages with DsgnIntf

> The compiled version of the Design Interface unit, DsgnIntf.dcu, is no
> longer included with
> C++Builder (or Delphi). To compile design-time packages using this unit,
> you
> must include
> the PFLAGS option -LUvcl50 in the project options for the package's
> project.
> >From the
> main IDE menu select Project|Edit Option Source to edit the project
> options.
> In the entry
> for PFLAGS add the -LUvcl50 option. For example:

> <PFLAGS value="-$YD -$W -$O- -v -JPHNE -M -LUvcl50"/>
> --------------------------------------------------------------------------
--
> ------------------
> Well i tried that and it gave me a compiler warning about a bad compiler
> switch, so i removed that
> -LUvcl50 from the line.  But i had to add the path of the dsgnintf.dcu
> file
> into the package under the
> Library path: $(BCB)\Source\ToolsAPI
> and the Include path: $(BCB)\Source\ToolsAPI

> Then the package compiled without a problem.

> file://-------------------------------------------------------------------

> Martin Hart wrote:

> > The Bits C++Builder Tech Discussion List -

http://www.richplum.co.uk/cbuilder/interactive/default.html

- Show quoted text -

Quote

> > Hi all:

> > I just received my BCB5, and would like any advise to use the RX library
> > with this version.

> > As it uses the same version of VCL as Delphi 5, I am supposing there
won't
> > be too many problem.

> > TIA,
> > Martin Hart.
> > memorys...@infotelecom.es

> > ______________________________________________________________________
> > To unsubscribe, write to CBuilder-unsubscr...@listbot.com
> > ----------------------------------------------------------------------
> > Adverti{*word*224}t:
> > redtag.com offers UNBELIEVABLE prices on a wide variety of brand
> > names. Get a boys or girls MURRAY 20" bike for only $29.99! Compare
> > as high as $99. To receive 10% off any purchase TODAY go to
> > http://www.listbot.com/links/redtag2

> ______________________________________________________________________
> To unsubscribe, write to CBuilder-unsubscr...@listbot.com
> ----------------------------------------------------------------------
> Adverti{*word*224}t:
> redtag.com offers UNBELIEVABLE prices on a wide variety of brand
> names. Get a boys or girls MURRAY 20" bike for only $29.99! Compare
> as high as $99. To receive 10% off any purchase TODAY go to
> http://www.listbot.com/links/redtag2

"Russ LeMaster" <rlema...@bellsouth.net> escribi en el mensaje
news:38D5AED1.1586A2FF@bellsouth.net...
Quote
> Hi folks,

> I just pulled won RxLib 2.75 and I'm trying to get it to build under

C++Builder 5. I played around with the RX.INC file
Quote
> (added defines for VER135 which I am assuming is the C++Builder5 version

tag). The Rxctl package compiles and links
Quote
> fine, but the RXDB package complains during the link that it can't find

BDECONST.OBJ  - I have looked all over for where

- Show quoted text -

Quote
> this is being referenced, but with no luck.

> Has anyone tried to do this build yet? If so, how did you get it going?

> Thanks,
> Russ

Re:RxLib components for C++Builder 5


Hi Martin,

Thanks for the info.

Russ

Quote
Martin Hart wrote:
> This topic was discussed a few weeks ago and the conclusion was:

> ----- Original Message -----
> From: "Tom Woodrow" <tomwood...@internetconnect.net>
> To: "The Bits C++Builder Tech Discussion List" <CBuil...@listbot.com>
> Sent: Friday, March 10, 2000 5:16 PM
> Subject: Re: RX libs for BCB5, anyone?

> > The Bits C++Builder Tech Discussion List -
> http://www.richplum.co.uk/cbuilder/interactive/default.html

> > I copied this from a Borland News Group last evening and make no claim
> > that it will work. But, good luck.

> > Tom Woodrow

> > /////////////////////////////////////////////
> > RX-LIB for CBuilder 5

> > Here are the steps.

> > 1. I re-downloaded a fresh copy of rxtools from torrys with the d5 fix:
> > http://torry.9bit.qc.ca/vcl/packs/rxlib.zip
> > http://torry.9bit.qc.ca/vcl/packs/rxfix.zip

> > If you already have the files just skip to the following steps.  The
> > prcoedure is the
> > same as last year for bcb4.

> > 2. In Rx.inc place this in the file:

> > {$IFDEF VER130} { Borland C++Builder 5.0 }
> >   {$DEFINE CBUILDER}
> >   {$ObjExportAll On}
> >   {$UNDEF DCS}
> >   {$UNDEF RX_MIDAS}
> > {$ENDIF}

> > Since you will already have the following lines in there for compiler
> > 130,
> > you will need to
> > comment them out like this.  Just add the periods or delete the 5 lines.

> > {.$IFDEF VER130} { Borland Delphi 5.0 }
> >   {.$DEFINE RX_D3}
> >   {.$DEFINE RX_D4}
> >   {.$DEFINE RX_D5}
> > {.$ENDIF}

> > 3. In Rx.inc remove the period from this line, this bypasses the error
> > for
> > Guages.obj

> > {$IFDEF WIN32}
> > {.$DEFINE USE_PROGRESSBAR}  // Remove the period from this line
> > { Activate this define if you do not want to use TGauge Borland sample
> > component in TDBProgress
> > component and FileUtil routines. In this case   TProgressBar component
> > will
> > be used }
> > {$ENDIF}

> > 4. In Rxconst.pas place this in there:

> > {$IFDEF VER130}
> > const
> >   SDelphiKey = 'Software\Borland\C++Builder\5.0';
> > {$ENDIF}

> > There is also a line in rxconst.pas that has the same line, but it
> > points to
> > delphi 5, i replaced it with
> > the line above.

> > {$IFDEF VER130}
> > const
> >   SDelphiKey = 'Software\Borland\Delphi\5.0'; // Replace this line and
> > it
> > will become the line above.
> > {$ENDIF}

> > Read the rxfile readme.txt and follow install instructions, when you get
> > to
> > the last file which is DCLRXDB.BPK,
> > you will get an error stating that it cannot find Dsgnintf.dcu.  Well
> > according to the helpfile you should add the
> > following line in your code as:
> > --------------------------------------------------------------------------
> --
> > ----------------------
> > Compiling packages with DsgnIntf

> > The compiled version of the Design Interface unit, DsgnIntf.dcu, is no
> > longer included with
> > C++Builder (or Delphi). To compile design-time packages using this unit,
> > you
> > must include
> > the PFLAGS option -LUvcl50 in the project options for the package's
> > project.
> > >From the
> > main IDE menu select Project|Edit Option Source to edit the project
> > options.
> > In the entry
> > for PFLAGS add the -LUvcl50 option. For example:

> > <PFLAGS value="-$YD -$W -$O- -v -JPHNE -M -LUvcl50"/>
> > --------------------------------------------------------------------------
> --
> > ------------------
> > Well i tried that and it gave me a compiler warning about a bad compiler
> > switch, so i removed that
> > -LUvcl50 from the line.  But i had to add the path of the dsgnintf.dcu
> > file
> > into the package under the
> > Library path: $(BCB)\Source\ToolsAPI
> > and the Include path: $(BCB)\Source\ToolsAPI

> > Then the package compiled without a problem.

> > file://-------------------------------------------------------------------

> > Martin Hart wrote:

> > > The Bits C++Builder Tech Discussion List -
> http://www.richplum.co.uk/cbuilder/interactive/default.html

> > > Hi all:

> > > I just received my BCB5, and would like any advise to use the RX library
> > > with this version.

> > > As it uses the same version of VCL as Delphi 5, I am supposing there
> won't
> > > be too many problem.

> > > TIA,
> > > Martin Hart.
> > > memorys...@infotelecom.es

> > > ______________________________________________________________________
> > > To unsubscribe, write to CBuilder-unsubscr...@listbot.com
> > > ----------------------------------------------------------------------
> > > Adverti{*word*224}t:
> > > redtag.com offers UNBELIEVABLE prices on a wide variety of brand
> > > names. Get a boys or girls MURRAY 20" bike for only $29.99! Compare
> > > as high as $99. To receive 10% off any purchase TODAY go to
> > > http://www.listbot.com/links/redtag2

> > ______________________________________________________________________
> > To unsubscribe, write to CBuilder-unsubscr...@listbot.com
> > ----------------------------------------------------------------------
> > Adverti{*word*224}t:
> > redtag.com offers UNBELIEVABLE prices on a wide variety of brand
> > names. Get a boys or girls MURRAY 20" bike for only $29.99! Compare
> > as high as $99. To receive 10% off any purchase TODAY go to
> > http://www.listbot.com/links/redtag2

> "Russ LeMaster" <rlema...@bellsouth.net> escribi en el mensaje
> news:38D5AED1.1586A2FF@bellsouth.net...
> > Hi folks,

> > I just pulled won RxLib 2.75 and I'm trying to get it to build under
> C++Builder 5. I played around with the RX.INC file
> > (added defines for VER135 which I am assuming is the C++Builder5 version
> tag). The Rxctl package compiles and links
> > fine, but the RXDB package complains during the link that it can't find
> BDECONST.OBJ  - I have looked all over for where
> > this is being referenced, but with no luck.

> > Has anyone tried to do this build yet? If so, how did you get it going?

> > Thanks,
> > Russ

Re:RxLib components for C++Builder 5


Please watch both the overquoting and cross posting.  Thank you.

Quote
Russ LeMaster wrote:

--
Jeff Overcash (TeamB)
      (Please do not email me directly unless  asked. Thank You)
If there is somebody up there could they throw me down a line.  Just a
little helping hand just a little understanding.  Just some answers to the
questions that surround me now.  If there's somebody up there could
they throw me down a line.               (Fish)

Re:RxLib components for C++Builder 5


Hi Martin,

Woops... i was too quick with that. After installing RXLIB275 and unzipping the RXLIBFIX file into it's units directory,
making the changes below, then compiling. The rxctl4.bpl lib compiles, but when compiling rxdb4.bpl (actually I copied
the .bpk files to rxctl5.pbk and rxdb5.bpk and used those instead) I get the following error which is the same as I was
getting with my modifications from before.

During link of rxdb5.bpl the error is: Cannot find BDECONST.OBJ

I have no idea where that is coming from.. can't find any references to it. Has anyone else seen this?

Thanks,
Russ

Quote
Martin Hart wrote:
> This topic was discussed a few weeks ago and the conclusion was:

> ----- Original Message -----
> From: "Tom Woodrow" <tomwood...@internetconnect.net>
> To: "The Bits C++Builder Tech Discussion List" <CBuil...@listbot.com>
> Sent: Friday, March 10, 2000 5:16 PM
> Subject: Re: RX libs for BCB5, anyone?

> > The Bits C++Builder Tech Discussion List -
> http://www.richplum.co.uk/cbuilder/interactive/default.html

> > I copied this from a Borland News Group last evening and make no claim
> > that it will work. But, good luck.

> > Tom Woodrow

> > /////////////////////////////////////////////
> > RX-LIB for CBuilder 5

> > Here are the steps.

> > 1. I re-downloaded a fresh copy of rxtools from torrys with the d5 fix:
> > http://torry.9bit.qc.ca/vcl/packs/rxlib.zip
> > http://torry.9bit.qc.ca/vcl/packs/rxfix.zip

> > If you already have the files just skip to the following steps.  The
> > prcoedure is the
> > same as last year for bcb4.

> > 2. In Rx.inc place this in the file:

> > {$IFDEF VER130} { Borland C++Builder 5.0 }
> >   {$DEFINE CBUILDER}
> >   {$ObjExportAll On}
> >   {$UNDEF DCS}
> >   {$UNDEF RX_MIDAS}
> > {$ENDIF}

> > Since you will already have the following lines in there for compiler
> > 130,
> > you will need to
> > comment them out like this.  Just add the periods or delete the 5 lines.

> > {.$IFDEF VER130} { Borland Delphi 5.0 }
> >   {.$DEFINE RX_D3}
> >   {.$DEFINE RX_D4}
> >   {.$DEFINE RX_D5}
> > {.$ENDIF}

> > 3. In Rx.inc remove the period from this line, this bypasses the error
> > for
> > Guages.obj

> > {$IFDEF WIN32}
> > {.$DEFINE USE_PROGRESSBAR}  // Remove the period from this line
> > { Activate this define if you do not want to use TGauge Borland sample
> > component in TDBProgress
> > component and FileUtil routines. In this case   TProgressBar component
> > will
> > be used }
> > {$ENDIF}

> > 4. In Rxconst.pas place this in there:

> > {$IFDEF VER130}
> > const
> >   SDelphiKey = 'Software\Borland\C++Builder\5.0';
> > {$ENDIF}

> > There is also a line in rxconst.pas that has the same line, but it
> > points to
> > delphi 5, i replaced it with
> > the line above.

> > {$IFDEF VER130}
> > const
> >   SDelphiKey = 'Software\Borland\Delphi\5.0'; // Replace this line and
> > it
> > will become the line above.
> > {$ENDIF}

> > Read the rxfile readme.txt and follow install instructions, when you get
> > to
> > the last file which is DCLRXDB.BPK,
> > you will get an error stating that it cannot find Dsgnintf.dcu.  Well
> > according to the helpfile you should add the
> > following line in your code as:
> > --------------------------------------------------------------------------
> --
> > ----------------------
> > Compiling packages with DsgnIntf

> > The compiled version of the Design Interface unit, DsgnIntf.dcu, is no
> > longer included with
> > C++Builder (or Delphi). To compile design-time packages using this unit,
> > you
> > must include
> > the PFLAGS option -LUvcl50 in the project options for the package's
> > project.
> > >From the
> > main IDE menu select Project|Edit Option Source to edit the project
> > options.
> > In the entry
> > for PFLAGS add the -LUvcl50 option. For example:

> > <PFLAGS value="-$YD -$W -$O- -v -JPHNE -M -LUvcl50"/>
> > --------------------------------------------------------------------------
> --
> > ------------------
> > Well i tried that and it gave me a compiler warning about a bad compiler
> > switch, so i removed that
> > -LUvcl50 from the line.  But i had to add the path of the dsgnintf.dcu
> > file
> > into the package under the
> > Library path: $(BCB)\Source\ToolsAPI
> > and the Include path: $(BCB)\Source\ToolsAPI

> > Then the package compiled without a problem.

> > file://-------------------------------------------------------------------

> > Martin Hart wrote:

> > > The Bits C++Builder Tech Discussion List -
> http://www.richplum.co.uk/cbuilder/interactive/default.html

> > > Hi all:

> > > I just received my BCB5, and would like any advise to use the RX library
> > > with this version.

> > > As it uses the same version of VCL as Delphi 5, I am supposing there
> won't
> > > be too many problem.

> > > TIA,
> > > Martin Hart.
> > > memorys...@infotelecom.es

> > > ______________________________________________________________________
> > > To unsubscribe, write to CBuilder-unsubscr...@listbot.com
> > > ----------------------------------------------------------------------
> > > Adverti{*word*224}t:
> > > redtag.com offers UNBELIEVABLE prices on a wide variety of brand
> > > names. Get a boys or girls MURRAY 20" bike for only $29.99! Compare
> > > as high as $99. To receive 10% off any purchase TODAY go to
> > > http://www.listbot.com/links/redtag2

> > ______________________________________________________________________
> > To unsubscribe, write to CBuilder-unsubscr...@listbot.com
> > ----------------------------------------------------------------------
> > Adverti{*word*224}t:
> > redtag.com offers UNBELIEVABLE prices on a wide variety of brand
> > names. Get a boys or girls MURRAY 20" bike for only $29.99! Compare
> > as high as $99. To receive 10% off any purchase TODAY go to
> > http://www.listbot.com/links/redtag2

> "Russ LeMaster" <rlema...@bellsouth.net> escribi en el mensaje
> news:38D5AED1.1586A2FF@bellsouth.net...
> > Hi folks,

> > I just pulled won RxLib 2.75 and I'm trying to get it to build under
> C++Builder 5. I played around with the RX.INC file
> > (added defines for VER135 which I am assuming is the C++Builder5 version
> tag). The Rxctl package compiles and links
> > fine, but the RXDB package complains during the link that it can't find
> BDECONST.OBJ  - I have looked all over for where
> > this is being referenced, but with no luck.

> > Has anyone tried to do this build yet? If so, how did you get it going?

> > Thanks,
> > Russ

Other Threads