|
Тема |
Toolbar 2000 and "tbx" |
|
Автор |
ist (I,m love in C++) |
|
Публикувано | 06.09.03 11:52 |
|
|
Имам следния проблем: Дръпнах от torry.net компонентата tb2k и нейния update tbx тъй като в него има XP манифеста.Инсталирам компонентите точно както е описано в хелпа:
C++Builder 6.0 installation / upgrade:
1. Select Tools | Environment Options... on the menu bar. Go to Library tab and
add the full path of your Toolbar2000 Source directory to the Library Path field if
you have not already done so. The Library Path field should then look similar to
this:
$(BCB)\Lib;$(BCB)\Bin;$(BCB)\Imports;$(BCB)\Projects\Bpl;c:\tb2k\source
Click OK.
2. Select File | Open Project... on the menu bar. Locate and select the tb2k_cb6
package source file in your Toolbar2000 Packages directory, and click Open.
3. A package editor window will appear. Click Compile, then click Install.
4. Close the package editor window. If you are asked if you want to save
changes to the package, answer No.
5. Repeat steps 2 through 4 with the tb2kdsgn_cb6 package.
tb2k се инсталира без проблеми. Следва инсталацията на update-та tbx:
tbx installation
Dowload the latest version of Toolbar2000.
Apply the required changes to original Toolbar2000 sources using the provided diff files. If you use CVS to update the Toolbar2000 sources, most likely, you will be making these changes only once.
Modifying Toolbar2000 Sources
If you use standard tb2k sources, you can try to patch it automatically.
1. Applying Patch
In TBX directory, locate patch.exe, _cvs_patch*.bat and
_cvs_patch*.diff files,
copy them to tb2k/Source subdirectory and execute the
_cvs_patch*.bat
file.
Copies of original files (before patching) are stored under the same name
with .orig extension in case you want to roll the patching back.
2. Recompile tb2k_* package
3. Add TBX installation directory to Tools->Environment Options->Library->Library
Path
4. Open and install tbxdsgn_d*.dpk package
It should be also possible to compile TBX with Delphi4. Just replace *_d5 to
*_d4 within tbx_d5.dpk and tbxdsgn_d5.dpk.
при изпълнението на точка 2 от tbx installation т.е. рекомпилацията се появява следната грешка за тази функция която е в модула Tb2Item.pas:
function TTBPopupWindow.GetNCSize: TPoint;
begin
Result.X := PopupMenuWindowNCSize;
Result.Y := PopupMenuWindowNCSize;
end;
1. Undeclared identifier GetNCSize
2. Undeclared identifier Result
Ако някой знае отговора на тази загатка нека сподели
10 x thank's
|
| |
|
|
|