Groups > Borland > Borland Delphi migration > Re: D6 to BDS 2006




D6 to BDS 2006

D6 to BDS 2006
Mon, 2 Jul 2007 11:08:25 -0400
I have design packages in D6 that have been working fine.  I am trying to 
transition to BDS 2006 Delphi Win32.  I have tried to compile and install 
the design and runtime packages that have worked in D6 in BDS 2006.  I set 
up the paths and compile in 2006 and then go back to D6 and the design 
components that were there are gone and I start getting a weird error when I 
try to compile the dpk again.  The error is:  Cannot load package 'rtl100.' 
It contains unit 'System,' 'which is also contained in package 'rtl60'.  I 
do not have rtl100 in either the contains or requires.  What can be 
happening?

In addition to that I get the the $(Delphi) path variable showing up in my 
paths that I have specifically set to the D6 directories.  I think this is 
part of my problem, but I don't know where to change this path. 

Post Reply
Re: D6 to BDS 2006
Tue, 03 Jul 2007 08:26:10 -050
If I understand you correctly, the problem is that, once you have 
compiled the component in D2K6 the packages make mention of the run time 
libraries that D2K6 needs (rtl100) and no longer make reference to D6 
libraries (rtl60).

What you need to do is make two directories for each component; one for 
the source code for D6 and another one for D2K6 and not mix the code. 
Then you can have the path for D6 reference the components that use its 
stuff, and D2K6 to reference the components that use the BDS stuff.  You 
cannot safely go back and forth with the same code.  Once you migrate 
up, it is difficult to go back.  Keep your code separate and you should 
be OK.

- Eduardo
Stop Continental Drift!
     -- Anon

Eminent Domain Software
"Custom Software Development For Your Domain"

Makers of EDSSpell, EDSPrint, EDSZipCodes and
XSpell, the IDE Expert.


Delphi Newsgroups wrote:
> components that were there are gone and I start getting a weird error when
I 
> try to compile the dpk again.  The error is:  Cannot load package 'rtl100.'

> It contains unit 'System,' 'which is also contained in package 'rtl60'.  I

> do not have rtl100 in either the contains or requires.  What can be 
Post Reply
about | contact