为 XE2 重新编译 TeeChart 7

发布于 2025-01-08 10:57:51 字数 483 浏览 1 评论 0原文

我将 TeeChart 版本 7 用于较旧的 Dev Studio 2006/C++ Builder 项目,我打算将其更新到 XE2。不过,我使用的TeeChart的一些功能需要付费版本,所以我不能只使用XE2自带的内置TeeChart。

由于我是 TeeChart 版本 7 源代码客户,我认为我可以重新编译软件包并将它们重新安装到 XE2 中。我想尝试这样做以避免购买 Teechart 的新许可证,因为较新的版本实际上没有我需要的任何附加功能。 Steema 为我的 TeeChart 版本定制的重新编译器/安装程序无法与 XE2 一起使用,所以我必须手动完成这一切。

第一次尝试重新编译较旧的 TeeChart 源代码时,我发现了相当多的语法错误,这些错误似乎很容易修复,但我不知道在碰壁之前我能走多远。但到目前为止,它们看起来都非常简单。

有人成功编译了这个版本的 TeeChart 并将其安装到 XE2 中吗?在我花时间学习一点 Delphi 并重新构建和安装组件后,我希望有信心这会起作用。

I used TeeChart version 7 for an older Dev Studio 2006/C++ Builder project that I intend to update to XE2. However, I'm using some features of TeeChart that require the paid version, so I can't just use the built-in TeeChart that comes with XE2.

Since I am a TeeChart version 7 source code customer, I assume I can re-compile the packages and re-install them into XE2. I would like to try to do this to avoid purchasing a new license for Teechart since the newer versions don't really have any additional features I need. The customized recompiler/installer from Steema for the TeeChart version I have won't work with XE2, so I'll have to do it all manually.

On first try on recompiling the older TeeChart source code, I've got quite a few syntax errors that seem easy to fix, but I don't know how far I'll get before I run into a wall. But so far, they are all looking pretty straight forward.

Has anyone sucessfully compiled a version of TeeChart this vintage and installed it into XE2? I want to have some confidence this will work after I spend the time to learn a little Delphi and get the components re-built and installed.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

吃兔兔 2025-01-15 10:57:51

几年前,当我们从 D6 移植到 D2010 时,我们刚刚重新编译了 TeeChart 版本 3 代码。只有少数非常小的问题需要处理。现在,我们只使用 TeeChart 的一个非常小的子集(大约 7 或 8 个核心单元),但这些都是主要单元。我想你不用担心。

我最终升级了 TeeChart。如果我没记错的话,是因为对 XP 主题的更好支持迫使我们从 TeeChart 版本 3 升级。然而,由于您的 TeeChart 已经有主题支持,我完全希望重新编译能够成功。

When we ported from D6 to D2010, a couple of years back, we just recompiled our TeeChart version 3 code. There were only a handful of very minor issues to deal with. Now, we are just using a very small subset of TeeChart (about 7 or 8 core units) but these are the primary units all the same. I think you have little to worry about.

I eventually did upgrade TeeChart. If I recall correctly it was better support for XP themes that forced us to upgrade from version 3 TeeChart. However, since your TeeChart already has themes support I fully expect a recompile to be successful.

沐歌 2025-01-15 10:57:51

我在实际的 TeeChart 源中统计了大约 85 个 {$IFDEF D16}。

这只是对已经与 XE 兼容的 TeeChart 2011 版本进行改编的工作。您想要从 TeeChart 7 开始的跳转比这要高得多(请注意,TeeChart v7 支持的最新 IDE 是 D2007,因此还需要考虑进行一些更改以使其与 D2009、C2010 和 XE 一起使用,如下所示其中大部分是累积的)。

我不想让你灰心,但我不认为它会“按原样”编译。

I've counted about 85 {$IFDEF D16} in the actual TeeChart sources.

And this was only the job to adapt the TeeChart 2011 version that already worked with XE. The jump you'd like to do, from TeeChart 7 is quite higher than that (note that the latest IDE supported by TeeChart v7 is D2007, so there are also the changes to make it work with D2009, C2010 and XE to consider, as most of them are accumulative).

I don't want to discourage you, but I don't think it will compile "as-is".

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文