 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Mark Horrocks Guest
|
Posted: Tue Apr 10, 2007 8:13 am Post subject: delphi 7 and 2007 |
|
|
I installed the trial of delphi 2007.
I load a project and it can't find TSocketConnection or TSharedConnection.
It doesn't have Midas?
Then I start Delphi 7 and it can't load InetXCustom because it contains unit
Zlib which is contained in RTL100 and RTL70? Why is Delphi 7 even aware of
RTL100? How to fix this?
Mark Horrocks |
|
| Back to top |
|
 |
Rob Uttley Guest
|
Posted: Tue Apr 10, 2007 11:01 am Post subject: Re: delphi 7 and 2007 |
|
|
Mark - I think this is a paths issue. I had a similar problem with D7
complaining about rtl100.bpl and ZLib straight after I'd installed D2007.
I edited the PC's PATH environment variable so that it just contains the
delphi folders for the version I'm going to use at the time - either D7 or
D2007.
I don't know if there's a better way but it made the problem go away and I
didn't really have time to investigate further. The D2007 installer puts
it's own paths right at the front of your existing path variable, which
might be part of the problem.
Either way, if you just need to get going with things, editing the path
should see you able to use one or the other without interference.
If you get a better (or even proper) solution, please let me know!
Rob
In article <461b63cc (AT) newsgroups (DOT) borland.com>,
markhorrocks_at_yahoo_dot_com (Mark Horrocks) wrote:
| Quote: | sorry rtl100.dll should read rtl100.bpl, likewise rtl70
|
|
|
| Back to top |
|
 |
Mark Horrocks Guest
|
Posted: Tue Apr 10, 2007 3:07 pm Post subject: Re: delphi 7 and 2007 |
|
|
To clarify this, when I try to install the package it says can't load
rtl100.dll because it contains Zlib which is also contained in rtl70.dll.
Why is Delphi 7 looking for rtl100.dll? I can't find anything in the
registry. The package requires rtl.dcp.
I have recompiled this package but no go. The error has existed since I
tried to install the package into Delphi 2007. Now both Delphi 2007 and
Delphi 7 report this error. I have uninstalled Delphi 2007 and removed the
registry entries but no go. Both rtl100dll and rtl70.dll exist in system32.
I thought D7 should co exist with D2007?
Mark Horrocks |
|
| Back to top |
|
 |
Mark Horrocks Guest
|
Posted: Tue Apr 10, 2007 3:15 pm Post subject: Re: delphi 7 and 2007 |
|
|
| sorry rtl100.dll should read rtl100.bpl, likewise rtl70 |
|
| Back to top |
|
 |
Rob Uttley Guest
|
Posted: Tue Apr 10, 2007 5:20 pm Post subject: Re: delphi 7 and 2007 |
|
|
In article <461bbd9b (AT) newsgroups (DOT) borland.com>,
markhorrocks_at_yahoo_dot_com (Mark Horrocks) wrote:
Mark, when I get in tonight I'll have a quick play and see what else I
can dig up about this, then.
The standard way of editing your path, by the way, is via the 'properties'
option on the right-click menu of 'My Computer' (there are other ways of
getting to that dialog, but I'm sure you know the one I mean - it's the
one that shows the processor type, windows version and real memory
installed, etc).
Under XP and 2000, this dialog has an 'advanced' tab - and on there is a
button marked 'environment variables'. In the dialog that this pops up you
can set the PATH variable.
I believe that if you change this, the path for any programs you
subsequently launch (including command/dos prompts) will reflect the new
value. Programs already launched (including command/dos prompts) will have
the PATH setting that was in effect when they were launched. NB - this is
just my understanding, not documented fact. :-)
Anyway, enough of my waffle, this might all be rubbish. I'll have a play
with my dual-Delphi system tonight and see if I can make it play nicely.
Thanks for reporting what you did with Delphi so far - my next step would
be to try and configure the LIBS paths to ensure no overlap between the 2
versions. I'll let you know if I learn anything.
Cheers
Rob
| Quote: | Thanks Rob,
Google is my friend. I altered HKEY_Current_User/Environment PATH
variable from thye BDS BPL output folder to C:\Program
Files\Borland\Delphi7\Projects\Bpl. This fixed the problem as far as
Delphi 7 is concerned but doesn't fix the problem for Delphi 2007 I
guess.
Since the PATH environment would have suited Delphi 2007 after I
installed it, then how can I solve the problem of the error ZLib being
found in both rtl100.bpl and rtl70.bpl?
The obvious is that Delphi 7 should look only for rtl70 and Delphi 2007
should look only to rtl100.
In Delphi 2007 I did set the project directionals for the package
project (all of them) to the folder where the package was located but
it still complained about Zlib. The package is InetXCustom found in
Delphi7/demos/midas/internet express/inetxcustom.
Mark Horrocks
Mark Horrocks
|
|
|
| Back to top |
|
 |
Mark Horrocks Guest
|
Posted: Tue Apr 10, 2007 9:14 pm Post subject: Re: delphi 7 and 2007 |
|
|
| Quote: | I edited the PC's PATH environment variable so that it just contains the
delphi folders for the version I'm going to use at the time - either D7 or
D2007.
|
How do I do that?
Mark |
|
| Back to top |
|
 |
Mark Horrocks Guest
|
Posted: Tue Apr 10, 2007 9:38 pm Post subject: Re: delphi 7 and 2007 |
|
|
Thanks Rob,
Google is my friend. I altered HKEY_Current_User/Environment PATH variable
from thye BDS BPL output folder to C:\Program
Files\Borland\Delphi7\Projects\Bpl. This fixed the problem as far as Delphi
7 is concerned but doesn't fix the problem for Delphi 2007 I guess.
Since the PATH environment would have suited Delphi 2007 after I installed
it, then how can I solve the problem of the error ZLib being found in both
rtl100.bpl and rtl70.bpl?
The obvious is that Delphi 7 should look only for rtl70 and Delphi 2007
should look only to rtl100.
In Delphi 2007 I did set the project directionals for the package project
(all of them) to the folder where the package was located but it still
complained about Zlib. The package is InetXCustom found in
Delphi7/demos/midas/internet express/inetxcustom.
Mark Horrocks
Mark Horrocks |
|
| Back to top |
|
 |
Mark Horrocks Guest
|
Posted: Tue Apr 10, 2007 11:07 pm Post subject: Re: delphi 7 and 2007 |
|
|
Hi Rob,
| Quote: | Under XP and 2000, this dialog has an 'advanced' tab - and on there is a
button marked 'environment variables'. In the dialog that this pops up you
can set the PATH variable.
|
Interesting, under the environment variables dialog box there are 2 windows,
one labeled user variables for Mark Horrocks. This path is C:\Program
Files\Borland\Delphi7\Projects\Bpl, the path I set in the registry.
The next box has a path which shows C:\Program Files\CodeGear\RAD
Studio\5.0\bin;C:\Documents and Settings\All Users\Documents\RAD
Studio\5.0\Bpl;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\;C:\Program
Files\Borland\Delphi7\Bin;C:\Program
Files\Borland\Delphi7\Projects\Bpl\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program
Files\Borland\CaliberRM SDK 2005 R2\lib;C:\Program Files\Common
Files\Adobe\AGL
I have now edited the Path Variable for All users to place the Delphi 7
paths for bin and lib first and this fixes Delphi 7. Delphi 2007 starts fine
as well. So all looks well.
Thanks for the info.
Mark Horrocks |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|