简体   繁体   English

C ++ Builder XE7:在软件包中使用TChart

[英]C++ Builder XE7: Using TChart in packages

I am confronted with a weird situation and I couldn't find any informations about this yet. 我面临着一个奇怪的情况,我现在还找不到任何信息。

I have postet this issue allready on the new Embarcadero community forum but I'm not very hopeful that I will get an answer there... So I decided to create a new account here. 我已经在新的Embarcadero社区论坛上张贴了这个问题,但是我不太希望在那里得到答案……所以我决定在这里创建一个新帐户。

http://community.embarcadero.com/index.php/forum/tools/336-c-builder-xe7-and-teechart-standard ) http://community.embarcadero.com/index.php/forum/tools/336-c-builder-xe7-and-teechart-standard

I use the TChart component which is shiped with the IDE of XE7 (like in older versions). 我使用XE7的IDE附带的TChart组件(类似于旧版本)。 When I use it in a package (.dll or .bpl) I get an access violation when I dynamically load, unload, and reload (reloading is the problem) the package wich contains a form with a chart in it. 当我在程序包(.dll或.bpl)中使用它时,动态加载,卸载和重新加载(问题是重新加载)时,该程序包中包含带有图表的表单。 I looked at the loaded packages with a process monitoring tool and everything seems to be allright. 我用一个过程监视工具查看了已加载的软件包,一切似乎都还不错。 The Tee9210.bpl is loaded successfully. Tee9210.bpl已成功加载。 When compiling the projects with /XE6 this error doesn't occur. 使用/ XE6编译项目时,不会发生此错误。

I could reproduce this on a second environement so I don't think its an issue of my installation/pc. 我可以在第二个环境中重现它,因此我认为这与我的安装/个人电脑无关。

Can anybody reproduce this? 有人可以复制吗? I could provide a test project if needed. 如果需要,我可以提供一个测试项目。

Thank you in advance. 先感谢您。

Kerem 凯雷姆

Edit: Access Violation when loading the bpl the second time: 编辑:第二次加载bpl时访问冲突:

Exception class: $C0000005 Message: 'access violation at 0xeeffeeff: access of address 0xeeffeeff' 异常类:$ C0000005消息:'0xeeffeeff处的访问冲突:地址0xeeffeeff的访问'

I noticed that when I try to load the bpl again after this message I get a different exception: 我注意到当我在此消息后尝试再次加载bpl时,遇到了另一个异常:

Exception class: $C0000005 Message: 'access violation at 0x503230cf: read of address 0x00000000' 异常类:$ C0000005消息:'在0x503230cf发生访问冲突:读取地址0x00000000'

Sorry for posting the same question on two pages, but I wasn't sure if the new embarcadero forum is popular enough to expect an answer from there. 很抱歉在两个页面上发布了相同的问题,但是我不确定新的embarcadero论坛是否足够受欢迎以至于无法期待在那里给出答案。

But fortunately Yeray from Steema is active there, too. 但幸运的是,来自Steema的Yeray也很活跃。 And I hope the solution could be read on the following link soon. 我希望该解决方案能尽快在以下链接上阅读。

http://community.embarcadero.com/index.php/forum/tools/336-c-builder-xe7-and-teechart-standard http://community.embarcadero.com/index.php/forum/tools/336-c-builder-xe7-and-teechart-standard

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM