BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Indy 8 and 9 on same machine?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Aaron Sherber
Guest





PostPosted: Tue Dec 30, 2003 12:00 am    Post subject: Indy 8 and 9 on same machine? Reply with quote



I'm starting a new project for which I'd like to use Indy 9, but I also
have some legacy projects with Indy 8. Is there a way to have both
available on my machine, or do I have to uninstall one and reinstall the
other every time I want to switch?

D5, Win2000

Thanks,
Aaron.
Back to top
Marco Caspers
Guest





PostPosted: Tue Dec 30, 2003 7:52 am    Post subject: Re: Indy 8 and 9 on same machine? Reply with quote



Aaron Sherber wrote:

Quote:
I'm starting a new project for which I'd like to use Indy 9, but I
also have some legacy projects with Indy 8. Is there a way to have
both available on my machine

Impossible.
Since nearly all indy units in versions 8 and 9 have the exact same
names, Delphi would catch this and won't let you compile the packages
for version 9 if version 8 is installed and vice versa.

Better start up a VMWare session and put your Legacy Indy 8 in there..

, or do I have to uninstall one and
Quote:
reinstall the other every time I want to switch?

Yes, unless you use VMWare, then you only have to switch from virtual
machines, pretty darn handy if you ask me. Only eats a lot of harddrive
space..

Regards,
Marco..

Back to top
Chad Z. Hower aka Kudzu
Guest





PostPosted: Wed Dec 31, 2003 4:05 pm    Post subject: Re: Indy 8 and 9 on same machine? Reply with quote



From Indy in Depth (http://www.atozed.com/indy)

Installing Concurrent Versions

You may find it desirable while to have more than one versions of Indy
installed on your system. I have 8 versions, however I do not recommend that
the average user install this many. An average user will likely install 2
versions, Indy 9 and Indy 10.

This is possible with some minimal side effects. To do this perform the
following steps:

1. Remove Indy 9 from your library path in Tools, Environment Options,
Library
2. Install Indy 10 in a separate directory from Indy 9.
3. For each application that uses Indy, explicitly add the path for Indy 9
or Indy 10 to the search path in the project's options (Project, Options,
Directories / Conditionals Tab).

Only one version of Indy can be installed at a given time on the palette.
Normally I keep 10 installed on my palette and use the above technique to
allow me to continue to compile applications written in 9. However some
properties have changed and this can cause problems with editing / debugging
of Indy 9 based applications, although I can still compile and edit source.
If I must edit a DFM containing an Indy 9 component I quickly change the
installed package.

If you are working primarily with one version or another with only occasional
use of the other version, the above technique will work quite well and you
can recompile the Indy packages on demand if necessary.

If you are not working primarily with one version you can have the binaries
of the packages and the .dcp files reside in the specific Indy version
directories and adjust which actual package is loaded by using the Packages
tab in Project Options. By controlling the packages in Project Options you
can control which packages each individual project uses.


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Is Indy useful to you? Send a postcard please!
http://www.hower.org/kudzu/indypost.html


ELKNews - Get your free copy at http://www.atozedsoftware.com

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.