Page 1 of 1

Two copies of ConnectForm

Posted: Thu 09 Feb 2006 19:07
by Ping Kam
Hi,

I am working on a new project with plugins.

I am trying to put all Delphi units and 3rd party tools units into one package for our new project so I don't have deploy tens or hundreds of bpl. When I add the ODAC units from the ODAC source folder (C:\Program Files\CoreLab\ODAC\Source), the compiler complains that ConnectForm.pas is already on the search path (C:\Program Files\Borland\Delphi7\Odac\Lib).

So I wonder why ConnectForm.pas, ConnectForm.dfm, and ConnectForm.xfm exist in the Lib folder? Can I remove it from the folder? If not, which one should I use in my package (they seem to be the same), or does it matter?

Thanks,
Ping Kam

Posted: Fri 10 Feb 2006 14:44
by Challenger
It seems that the reason of this problem is remains of previously installed version of ODAC. Please try to rename C:\Program Files\Borland\Delphi7\Odac folder.

Posted: Fri 10 Feb 2006 18:54
by Ping Kam
I uninstall ODAC from the OS. I check and confirm that C:\Program Files\Borland\Delphi7\Odac folder was gone. I explicitedly delete the C:\Program Files\CoreLab\ODAC folder. Then re-install it. And the 3 files are listed in both folders again. And the two copies have the same file dates.

The ConnectForm is the only one that has source (pas, dfm and xfm) file in the C:\Program Files\Borland\Delphi7\Odac folder.

Ping Kam

Posted: Mon 13 Feb 2006 13:01
by Challenger
Please specify the version of ODAC you use and folders in which the ConnectForm.pas is contained.

Posted: Mon 13 Feb 2006 16:12
by Ping Kam
Hi,

ODAC 5.70.0.28 for D7.

The folders which contain ConnectForm.pas, ConnectForm.dfm and ConnectForm.xfm are C:\Program Files\CoreLab\ODAC\Source and C:\Program Files\Borland\Delphi7\Odac\Lib.

Ping Kam

Posted: Tue 14 Feb 2006 13:04
by Challenger
Please specify the steps of installation in more detail.