Today I've been installing CoolTrayIcon components on BCB6.
I've done it once, but totally forgot how I managed to do it.
The install.txt sais:
But today I went into another linker error when trying to repeat installation in my home environment:
Damn! So wast amount of time was spent just to install one component!
I've done it once, but totally forgot how I managed to do it.
The install.txt sais:
1. Select "New Component..." from the menuIf you do exatly that you'll finish with a bunch of linker errors. Particular one is
2. In "Ancestor type", select "TTrayIcon [trayicon]"
3. In "Class Name", type "TCoolTrayIcon"
4. In "Palette Page", type "Tray Icons" (or another tab you want to install to)
5. In "Unit file name", select "RegisterTrayIcons.pas" (which is found in the
CoolTrayIcon package). Also, include CoolTrayIcon.pas and TextTrayIcon.pas,
or you might get an error regarding "IMGLIST.OBJ".
6. Click on the "Install" button.
Outline::TCustomOutline::~TCustomOutline()' referenced from C:\PROGRAMNot very straightforward googling results in the following solution:
FILES\BORLAND\CBUILDER6\LIB\BCBSMP.LIB|.\cdiroutl.cpp
this is quite common when installing Delphi components into BCB. You
need to add bcbsmp.bpi into the 'Requires' part of the package. (It's
in the small 'Package' window under 'Requires')
I figured out a way to eliminate the above error message.
add...Once I've done it everything went fine in my work environment.
..\CBUilder6\Lib\Debug\vclx.bpi
The Pascal component probably 'uses' a VCL sample component. This is a
tricky area for Pascal component usage in BCB as BCB comes with native
C++ sample VCL components and by-design excludes the native Pascal VCL
sample components.
But today I went into another linker error when trying to repeat installation in my home environment:
[Linker Fatal Error] Fatal: Unable to open file 'c:\PROGRA~2\BORLAN~1\Projects\Lib\cooltrayicon.bpi'Again googling resulted in
Yes, BCB wanted to create files in the folders Projects\Lib andAt last creating Lib directory under Projects resulted in successfull install.
Projects\Bpl which didn't exist
Damn! So wast amount of time was spent just to install one component!
No comments:
Post a Comment