recompiling crdbgrid

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jkuiper
Posts: 138
Joined: Fri 04 Aug 2006 14:17

recompiling crdbgrid

Post by jkuiper » Tue 09 Sep 2008 10:08

I want to put some extra code into TCRDBGrid like seeing graphics and checkboxes. But I see only the source file. Do I have to put this sourcefile into a new package? Doesn't delphi complain if this component already exists?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Thu 11 Sep 2008 06:57

You can find the crcontrolsXX.dpk package that installs the TCRDBGrid components, in the CRDBGrid\Source\DelphiX\ directory.

jkuiper
Posts: 138
Joined: Fri 04 Aug 2006 14:17

Post by jkuiper » Mon 06 Oct 2008 12:20

I've added some features like checkbox in column class and rowcolumn for odd and even rows. Is it usefull to upload them to you, or is it better to rename the class to another name?

Why is the installation of MyDAC putting the crcontrols105.bpl in c:\program files\codegear\5.0\bin (version 5.5) or in c:\windows\system32 (5.2)?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 07 Oct 2008 14:26

jkuiper wrote:I've added some features like checkbox in column class and rowcolumn for odd and even rows. Is it usefull to upload them to you, or is it better to rename the class to another name?
The TCRDBGrid component is not developed. Therefore you can rename the class to another name or change code straight in the TCRDBGrid's source code.
jkuiper wrote:Why is the installation of MyDAC putting the crcontrols105.bpl in c:\program files\codegear\5.0\bin (version 5.5) or in c:\windows\system32 (5.2)?
In both version (5.2 and 5.5) crcontrols105.bpl is put in both these directories, as it is used as designtime and runtime package.

jkuiper
Posts: 138
Joined: Fri 04 Aug 2006 14:17

Post by jkuiper » Wed 08 Oct 2008 10:04

As far as I know, D2007 put its bpl's into a opendirectory where D2007 can find the bpl's (XP: "My Documents\Borland Studio Projects\Bpl", Vista: users directory).
If I remove the crcontrols105.bpl from c:\windows\system32 and c:\program files\codegear\5.0.\bin it'works fine. I can even recompile the bpl. So why can't the install put the bpl into the correct directory?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 10 Oct 2008 12:19

This behaviour is connected with the fact that TCRDBGrid is installed with several DAC products and also with traits of some IDE.
Just delete the crcontrols105.bpl from c:\windows\system32 if you need, and all will work.

Post Reply