Remove the component from the IDE via Component->Install Packages, then
close BDS and delete the .bpl .dcp etc files from the bpl folder, usually My
Documents\Borland Studio Projects. Then open BDS, make sure that the
C++Builder and Delphi personalities are loaded, re-build the pkg, and
install. This should do it.
HTH
Jonathan
> I have a D5 component and set Generate all C++Builder files but
> the component only appears on the Delphi Win32 tool palette, but
> not on the C++Builder tool palette.
Did you write a new package for BDS? You can't use the D5 package. Just
like with every other version, packages are version-specific, and must be
compiled with the IDE that you want to install into.
Do you have both personalities loaded at the time of install? You probably
did not actually install the package into the C++ personality at all.
Generating the files alone is not enough.
Gambit
procedure Register;
begin
RegisterComponents('Pragena', [TPgCSV]);
end;
but do I have to add a resource file containing the
design time tool palette icon. It is not appearinf on the
tool palette. I am running all personalities of BDS
contiguously.
"Digby Millikan" <dig...@internode.on.net> wrote in message
news:4588d2a3$1...@newsgroups.borland.com...
> Ok, I created a new .bpl file in BDS2006 and added the D5 .pas file
> to it. Now all I need is the .dcr file which contains the designtime
> information.
A DCR file does not contain any design-time information. It is nothing more
than a resource file that holds images and nothing else.
> How do I create this file?
With Borland's Image Editor utility that ships with every version of the
IDE.
Gambit
> do I have to add a resource file containing the
> design time tool palette icon.
That is what a DCR file is for.
> It is not appearinf on the tool palette.
Did you follow Jonathan's instructions yet?
Gambit
> Remove the component from the IDE via Component->Install Packages, then
> close BDS and delete the .bpl .dcp etc files from the bpl folder, usually My
> Documents\Borland Studio Projects. Then open BDS, make sure that the
> C++Builder and Delphi personalities are loaded, re-build the pkg, and
> install. This should do it.
How do you load more than one personality?
I am getting in a right mess with this. I am trying to build the ODS (
Orcka ) component suite. I can build the Delphi version in the Delphi
personality and it appears on the toolbar in C++ Builder but I dont have
.bpi files to add to the "requires" list if I use them in other
packages in Builder.
I can not build any design time Builder package that includes .pas files
because any .pas file whose uses section includes DesignIntf or
DesignEditors causes F1026 File not found: 'DesignIntf.dcu'.
The .dcu files are in C:\Borland\CBuilder6\Source\Toolsapi in my BCB6
installation, but C:\Borland\BDS4.0\source\ToolsAPI contains only .pas
files.
-pCBuilder;Delphi on the command-line.
> I am getting in a right mess with this. I am trying to build the ODS (
> Orcka ) component suite. I can build the Delphi version in the Delphi
> personality and it appears on the toolbar in C++ Builder but I dont have
> .bpi files to add to the "requires" list if I use them in other packages
> in Builder.
Check the Borland Studio Projects\Bpl dir for the .bpi files.
> I can not build any design time Builder package that includes .pas files
> because any .pas file whose uses section includes DesignIntf or
> DesignEditors causes F1026 File not found: 'DesignIntf.dcu'.
>
> The .dcu files are in C:\Borland\CBuilder6\Source\Toolsapi in my BCB6
> installation, but C:\Borland\BDS4.0\source\ToolsAPI contains only .pas
> files.
Add designide.bpi to the Requires section of the package.
HTH
Jonathan