TeeChart 8.01 With Source在Delphi 7.0中的安装(转)

摘要:
今天我工作了两个多小时。安装日志记录如下:位图和元文件文件在Delphi7.0中安装TeeChart7.0WithSource I.删除TeeChart 1和组件->配备有Delphi7;

转载自:http://www.360doc.com/content/10/1012/22/3572432_60499559.shtml

TeeChart.v8.01安装日志.

为了安装teechart,可谓是煞费苦心,昨晚弄到深夜一点过,今天又弄了两个多小时.特将安装日志记录如下:


一、TeeChart Introduction:

TeeChart Pro是一个强大的VCL图表组件,支持上百种2D和3D图表风格,并提供40多个数学和统计函数、无限制的轴和22个调色板。TeeChart还集成打印预览,图表可导出到JPEG,EPS,PDF,PNG,PCX,GIF,Bitmap和metafile文件。同时还可提供.NET,ActiveX和 COM版本。

TeeChart还包括一个强大的、完整的编辑对话框,几乎可用于每个组件和子组件,允许你快速的设计复杂图表应用程序。图表编辑器通过TeeCommander组件进一步得到增强,它提供一次点击访问图表编辑器和共同特征。这些编辑器在设计时和运行时均可提供。

TeeChart Pro为缩减可执行程序大小被分成完全面向对象的多个模块。它还允许开发者创建自定义包组成他们自己需要的模块。

支持Delphi和C++ Builder的所有版本(包括BDS2006和CRS2007)。

[other vertion:teeChart 是生成图表的 ActiveX 控件。]

二、download URL

http://www.ccrun.com/view.asp?id=143#

三、Installation

以下是来自BAIDU的一篇博文,有介绍teechart7及以前版本的安装方法,原文附上:

///////////////////////////////
TeeChart 7.0 With Source在Delphi 7.0中的安装

一、删除Delphi7自带TeeChart

 
1、Component -> install Packages 中 Remove 所有以Tee开头的包,OK,关闭Delphi7。
2、删除DelphiBin目录下的DclTee70.bpl; 
3、删除 WindowsSystem32(或System)目录的以下文件: 
Tee70.bpl 
Teedb70.bpl 
Teeqr70.bpl 
Teeui70.bpl

4、删除DelphiLib目录下的以下文件(如果有的话.可以把以下文本建成一个Bat文件,在DelphiLib目录下运行即可。

del QRTEE.dcu

 
del dcltee.dcp 
del tee.dcp 
del TeeAbout.dcu 
del TeeAbout.dfm 
del teebmps.res 
del TeeConst.dcu 
del teedb.dcp 
del TeeFunci.dcu 
del TeeGally.dcu 
del TeeGally.dfm 
del TeeLisB.dcu 
del TeEngine.dcu 
del TeePoEdi.dcu 
del TeePoEdi.dfm 
del TeePrevi.dcu 
del TeePrevi.dfm 
del TeeProcs.dcu 
del teeqr.dcp 
del teeresou.res 
del TeeShape.dcu 
del teeui.dcp 
del TeExport.dcu 
del TeExport.dfm 
del TeCanvas.dcu 
del Chart.dcu 
del ArrowCha.dcu 
del BubbleCh.dcu 
del EditChar.dcu 
del GanttCh.dcu 
del Series.dcu

二、安装TeeChart Pro v7.0 Full Sources

1 启动Delphi,将TeeChart v7.0源文件拷贝到一特定目录,如 Delphi7SourceTeeChart7;

 
并在Tools-> Environment Options -> Library -> Library Path 中添加该路径; 
同时添加以下路径 $(DELPHI)ProjectsBpl,否则下一步编译会有找不到“tee77.dcp”的问题!

2 Open Project打开目录中的 Tee7D7.bpg; Project-> Build All Projects 编译所有项目,

 
编译生成的文件在$(DELPHI)ProjectsBpl目录中。

3 将Bpl目录中的下列文件拷贝到WindowsSystem32 (或System)目录中:

 
Tee77.bpl 
TeeDB77.bpl 
TeeGL77.bpl 
TeeImage77.bpl 
TeeLanguage77.bpl 
TeePro77.bpl 
TeeQR77.bpl 
TeeUI77.bpl

4、将Bpl目录中的下列文件拷贝到Delphi7Bin目录中:

 
DclTee77.bpl 
DCLTeePro77.bpl 
DclTGL77.bpl 
DCLTQR77.bpl

5、将Bpl目录中的下列文件拷贝到Delphi7Lib目录中:

 
DclTee77.dcp 
DCLTeePro77.dcp 
DclTGL77.dcp 
DCLTQR77.dcp 
Tee77.dcp 
TeeDB77.dcp 
TeeGL77.dcp 
TeeImage77.dcp 
TeeLanguage77.dcp 
TeePro77.dcp 
TeeQR77.dcp 
TeeUI77.dcp

6、安装TeeChart:

 
Component -> install Packages 中 Add Delphi7Bin目录中以下文件: 
DclTee77.bpl 
DCLTeePro77.bpl 
DclTGL77.bpl 
DCLTQR77.bpl (如果没有安装QuickReport,可以不添加此文件) 
和WindowsSystem32 (或System)目录中的TeeImage77.bpl;

7、选择简体中文:

     新建一工程,添加Additional面板中的TChart放到Form上,选中Chart1, 鼠标右击,

 
选择Options,在Langague框中再选Chinese Simp,OK。

URL:http://hi.baidu.com/choineo/blog/category/Delphi

/////////////////////////////

我使用的版本为8.01,起初也是按照上面的方法试了,但在编译bpl包库时出现can't find *.bpi文件的错误,提示找不到导入包文件。多次尝试未能解决。

再次查看下载的文件,原来里边有个install.txt,我恍然大悟,其内容如下:
//BEGIN//

Please follow the installation guidelines found
at Kylix.txt file.

Borland Developer Studio 2006,

 
Delphi 2005.NET and Delphi 8 for .NET:
--------------------------------------

Open the Steema.TeeChart.VCL project group:

Steema.TeeChart.VCL.bdsgroup

and build all projects.

.NET Destination of runtime packages:
-------------------------------------

You might optionally want to install TeeChart
for VCL.Net assemblies (packages) into

 
.NET Framework "GAC" (Global Assembly Cache):

gacutil /i Steema.TeeChart.VCL.dll
gacutil /i Steema.TeeChart.VCL.Languages.dll
gacutil /i Steema.TeeChart.VCL.Design.dll

.NET Installation:
------------------

Under Delphi .NET, go to Component->Installed .NET Components
and browse and select the Steema.TeeChart.VCL.Design.dll
assembly (design-time package for VCL Forms applications).


Delphi / C++ Builder:
---------------------

In Delphi and C++ Builder you can recompile the
TeeChart Pro packages opening the
appropiate Project Group File (*.bpg)

BDS 2006:    Tee8D10.bpg
Delphi 2005: Tee8D9.bpg
Delphi 7:    Tee8D7.bpg
Delphi 6:    Tee8D6.bpg
Delphi 5:    Tee8D5.bpg
Delphi 4:    Tee8D4.bpg

C++ Builder 6: Tee8BCB6.bpg
C++ Builder 5: Tee8BCB5.bpg
C++ Builder 4: Tee8BCB4.bpg

Double-click the first package ( ie: Tee89 ) and select
"Project -> Build All packages" to recompile all packages.

Please remove old package files and close all projects

 
before recompiling.

Destination of runtime packages:
--------------------------------

WindowsSystem (WinNTSystem32) :

Teexx.bpl
TeeDBxx.bpl
TeeUIxx.bpl
TeeGLxx.bpl
TeeQRxx.bpl
TeeProxx.bpl
TeeImagexx.bpl
TeeLanguagexx.bpl


Installation of packages:
--------------------------

Under Delphi / C++ Builder IDE, select
Component->Install Packages.

Make sure older TeeChart packages are
removed from the package list.

Select and Add the following design-time
packages:

For BDS 2006 and Delphi 2005:   

DclTeeProxx.bpl

For all other Delphi and C++Builder versions:

DCLTeexx.bpl
DCLTQRxx.bpl
DCLTeeProxx.bpl
DCLTGLxx.bpl

and:

WindowsSystemTeeImagexx.bpl


Installation errors:
---------------------

Problems when installing packages in Delphi
/ C++ Builder arise when old or duplicate

 
*.bpl (*.dpl) files are still located in the 
system path (WindowsSystem or WinNTSystem32).

Other causes are:

-Improper modification of source code.
-Old or duplicate *.DCP or *.DCU or *.OBJ files.


Modifications:
--------------

If you modify TeeChart Pro source code or fix a bug,
you can email us this info so we can apply the same

 
changes for next coming upgrades if they can benefit to 
other programmers.

Support:
--------

Please direct your questions to our Support Central Web Site:

http://support.steema.com

-------------------------------------------------------------

Thanks for TeeCharting !
Steema Software
www.steema.com
//END//

具体方法:
(1)执行上面那篇博文中介绍的方法的第一步[URL:http://hi.baidu.com/choineo/blog/category/Delphi ],删除掉BCB中支持的旧版本的teechart file.
(2)运行teechart文件夹里的teerecompile.exe,设置编译文件存放的目标路径,如:C:orland c++builder6sourcecompiled,选中"Install packages into IDEs (VCL versions)"选项,然后点击BEGIN进行编译,可能会提示对原有的teechart file作备份,点确定,teerecompile.exe会自动在相应目录下生成backup_teechart文件夹,然后,等待直到编译全部完成.
这一步,其实是对博文中介绍方法的GUI实现,而且没有出现can't find *.bpi文件的提示,[这一点 是为什么??]
(3)编译完成,生成的文件全部在C:orlandc++builder6sourcecompileduilder6目录下,共有四个文件夹:in;include;lib;system,以及一个teeInstall.exe程序.将system目录下的文件全部拷到c: windowssystem32目录下,将compileduilder6in目录下的文件全部拷到C:orland c++builder6in目录下,完成.
(4)启动BCB,查看installed packages,可以看到teeChart已成功安装,在控件工具栏上也出现了teechart控件.


[注:我使用的是BCB6,如果直接编译,在第二步选文件的时候,注意选中相应的包库文件(bpg文件),bpg文件的命名规则前面我已列出.]

另外,附上BCB中的文件类型(可能不全):

.dcp(Delphi Compiled Packages
.BPL   -   Borland   Package   Library , 是一种特殊的DLL文件, 用于代码重用和减少可执行文件的长度
BPK   -   Borland   Package  

 
BPI   -   Borland   Package   Import   Library(BPL's   Import   Library)
DPR: Delphi Project文件,包含了Pascal代码。 
PAS: Pascal文件,Pascal单元的源代码,可以是与窗体有关的单元或是独立的单元。 
DFM:Delphi Form File,描述窗体或数据模块及其组件属性的二进制文件。
BPG Borland Project Group 工程项目包, 多个工程文件DPR的集合.
DSK Desktop Setting File 保存工程文件的桌面摆布情况, 下次打开时可以恢复上次保存的桌面状态
DSM 集成开发环境IDE的临时保存文件, 有时IDE总出错, 可以将这个文件删掉, 系统会重新生成 
RES Resource File, Windows 的资源文件, 可以定义光标, 位图, 图标资源, 可以使用ImageEditor编辑
DCU Delphi Compiled Unit 编译后的单元文件, 程序连接时需要它,
DLL Dymanic-link libraries, Windows 动态链接库 
EXE Executable File, 编译生成的可执行文件 
DPK Delphi Packge Source 包文件的源代码

免责声明:文章转载自《TeeChart 8.01 With Source在Delphi 7.0中的安装(转)》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇VTK 图形基本操作进阶_点云配准技术(迭代最近点ICP算法)revit 碰撞检测相关下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

运行软件出现:模块“msvcp110.dll”已加载,但找不到入口点DllRegister

根据百度大多数回答来说 1:先是出现   无法启动程序,因为计算机丢失mfc110.dll 尝试重新安装该程序以解决问题   错误处理:下载或者在别人电脑上拷一份 如:'msvcp110.dll‘ 这类文件然后复制粘贴到系统盘即使/C/windows/system32或者64位系统就放到syswow64     楼主亲测是不能成功的。至少大多数情况是这样...

使用webpack搭建vue开发环境

最近几天项目上使用了vue.js作为一个主要的开发框架,并且为了发布的方便搭配了webpack一起使用。CSS框架使用的是vue-strap(vue 对bootstrap控件做了封装)这篇文章主要总结一下具体搭建的过程,和途中遇到的一些问题的解决办法 主要用到的工具 Vue webpack vue-strap vue-router 搭建步骤 1. 首先...

Linux(实操篇)--- 实用指令——文件目录类

pwd指令 - 基本语法: pwd (功能描述:显示当前工作目录的绝对路径) ls指令 - 基本语法: ls [选项][目录或者文件](功能:显示当前目录所有的文件和目录) - 常用选项: -a : 显示当前目录所有的文件和目录,包括隐藏的 -l : 以列表的方式显示信息 cd指令 - 基本语法: cd [参数](功能描述:切换到指定目录...

Log4j乱码

解决方法: 如果是log4j.properties为配置文件,比如: 1 2 3 [c-sharp] view plaincopy log4j.appender.A1=org.apache.log4j.RollingFileAppender   log4j.appender.A1.File=all.log 加入一行: 1 2 3 4 [...

h264格式的flv和mkv无损转换成mp4的方法

现在很多flv和mkv视频都是采用的h264封装,移动设备往往并不支持这些格式的文件,但却对h264封装的mp4支持良好。因此,为了视频能在电脑和移动设备间共享,我通常会将其转换成h264封装的mp4文件。 由于视频转码非常耗时间和cpu,如果flv和mkv本来就是采用的h264封装,完全不需要转码,只需要把h264视频和音频文件分离出来,重新混流一次即可...

20款免费备份文件软件

      经常对电脑中资料进行备份的重要性已不用多说,但每次都辛苦地逐个目录拷贝、或花半天时间整理目录和文件、更不能想象重装系统后繁复的系统设置调整。如果你曾经因为这些而对系统备份工作有所迟疑,那么现在让你彻底告别这些顾虑! 1. Areca Backup 7.1.10 Areca Backup 是一个开源的备份软件,用 Java 写成。Areca B...