How to update a Borland 6 C++ Project from including indy.bpi to indy60.bpi?

2.7k views Asked by At

I develop with Borland Builder 6 in C++. And when I click on "Components" / "Installer des paquets", I see the Package dclIndy60.bpi : "Internet Direct (Indy) for D6 Property and Component Editors", meaning for me that it's all ok, I use as wished the Indy60 package (in an Indy9 folder : version 9 for indy dated of november 2002) and no longer use the old "indy" package (default version on my BCB6 install disc).

My problem is that I try to compile an "old_project", apparently coded using the old Indy.bpi package (instead of Indy60 in mine) and during the compilation it pops a window saying : "impossible to find the 'paquet d'importation' : indy.bpi", with a browse button; I thence browse to the only "indy" bpi file i have : Indy60.bpi.

In fact I have reinstalled successfully (as seems) indy9, taking care first to remove every trace of the old indy (as advised on forums) and the wished indy 9 before installing again indy 9 (using the BCB 6 disc to remove the old indy). And in my "old_project" I have made sure (as said above) that it points to indy60 in the "component" menu. But at compiling time, it still asks for "indy.bpi".

=> How is it possible to remove any reference to this old indy.bpi and/or replace it with the new "indy60.bpi" ?

=> Or do I misunderstand badly the difference between indy.bpi and indy60.bpi ? or do I make a too great confusion in my management of bpi and bpl for Borland Builder ?

=> Or would I have better create a new project and copy in it file by file from the old BCB C++ project ?

Sorry for the confusions I can make, I'm a little bit new to developping C++ application from scratch (having 3 years experience in maintaining allready written applications) and new too to Borland Builder.

Best regards, Arnaud.

1

There are 1 answers

1
Remy Lebeau On BEST ANSWER

You need to edit the project's .bpk file in Notepad or other text editor. You can then change the package references as needed.