Two copies of ConnectForm

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Ping Kam
Posts: 21
Joined: Fri 26 Nov 2004 19:09

Two copies of ConnectForm

Post by Ping Kam » Thu 09 Feb 2006 19:07

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

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Fri 10 Feb 2006 14:44

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.

Ping Kam
Posts: 21
Joined: Fri 26 Nov 2004 19:09

Post by Ping Kam » Fri 10 Feb 2006 18:54

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

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Mon 13 Feb 2006 13:01

Please specify the version of ODAC you use and folders in which the ConnectForm.pas is contained.

Ping Kam
Posts: 21
Joined: Fri 26 Nov 2004 19:09

Post by Ping Kam » Mon 13 Feb 2006 16:12

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

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Tue 14 Feb 2006 13:04

Please specify the steps of installation in more detail.

Post Reply