XE Update 1, RB 12.03, TeeChart conflict
Delphi XE Update 1, RB 12.03.
I have a dll with a report that uses ppChrt. When I try to start my exe
that calls the dll, I get a runtime error, and the exe can't start. If I
remove the chart component from the report in the dll and remove ppChrt and
ppChrtDP from the uses section, then my exe runs properly.
I may have installed RB 12.03 before XE Update 1. Since then, I have
uninstalled and reinstalled RB 12.03, and I have run
RBTeePackageBuilder.exe. It is still not working.
Thanks,
George
I have a dll with a report that uses ppChrt. When I try to start my exe
that calls the dll, I get a runtime error, and the exe can't start. If I
remove the chart component from the report in the dll and remove ppChrt and
ppChrtDP from the uses section, then my exe runs properly.
I may have installed RB 12.03 before XE Update 1. Since then, I have
uninstalled and reinstalled RB 12.03, and I have run
RBTeePackageBuilder.exe. It is still not working.
Thanks,
George
This discussion has been closed.
Comments
1. Are you able to create a stand alone exe that uses a Report with a chart
in it successfully?
2. Which version of TeeChart are you using?
3. Note that when installing Update 1, the standard version of TeeChart is
reinstalled. If you are using a Pro version of TeeChart, you will need to
reinstall. Also, be sure there are no old dcu files remaining in your
library path that could be causing issues.
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
2. 9. Standard, I believe. Whatever comes with XE.
3. I'm not sure I follow this. If I am using Standard, do I delete some
dcus? Which ones? The ones in RBuilder\TeeChart\TeeStd900? Then what?
Thanks,
George
The reason I'm asking about old .dcu files is that I'm chacking to see if
your dll is being built with outdated or incorrect TeeChart files which is
in turn causing problems. Are you able to run the dll demo we provide
located in the \Demos\7. DLL\... directory? In my testing after adding a
chart to the report, this example functioned properly with Delphi XE Update
1.
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
"George Wynne" wrote in message news:4cffb2a8$1@mail....
1. Yes.
2. 9. Standard, I believe. Whatever comes with XE.
3. I'm not sure I follow this. If I am using Standard, do I delete some
dcus? Which ones? The ones in RBuilder\TeeChart\TeeStd900? Then what?
Thanks,
George
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
dll that uses ppChrt, then my exe crashes run I try to run it. I can send
you an sample project.
Thanks,
George
Yes, please send the example to support@digital-metaphors.com in .zip format
and I'll take a look at it for you.
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
"George Wynne" wrote in message news:4d00f6bc$1@mail....
I have narrowed it down. If the exe includes a TChart, and the exe calls a
dll that uses ppChrt, then my exe crashes run I try to run it. I can send
you an sample project.
Thanks,
George
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I have the same problem:
Delphi XE Enterprise (Update 1 installed)
TeeChart pro 9 (2010) installed afterwards
RB12.03 pro installed in the end
If I add ppChrt to uses clause of any rb demo project the compiler
tells of version conflicts with TeCanvas.ttTeeShadow and does not
start.
I deleted *chrt* dcus in RBuilder's lib dir and recompiled
RBTeePackage with Teepro9 settings. No effect.
Two exactly equal ppchrt.dcus are found on my machine after package
compiling:
RBuilder/lib/
RBuilder/TeeChart/TeePro900/
regards
Jays
On Fri, 10 Dec 2010 09:00:58 -0700, "Nico Cizik \(Digital Metaphors\)"
multiple destinations. A compiler version conflict indicates the presence of
old and new TeeChart version existing on your system, I recommend performing
a cleanup.
This thread discusses an issue with calling a Chart compiled compiled into a
.dll..
"If the exe includes a TChart, and the exe calls a dll that uses ppChrt,
then my exe crashes run I try to run it."
Please see the Delphi reporting-charting newsgroup for a discussion - a
TeeChart support engineer answered the post.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com