Page 1 of 1

Installing in DelphiXE2 TeeChartPro916 and PivotCube

Posted: Thu Dec 29, 2011 9:16 pm
by 16560453
Hello,
I’ve installed DelphiXE2 update 3 deselecting “Tee Chart” option in install list, and then I've TeeChart Pro (latest version, 2011 916, downloaded yesterday 27 dec 2011).
When I try to install PivotCube source code nondll, the compiler rises this message:

“The following changes are necessary to make this package compatible with other installed packages.
Chose OK to apply these changes and rebuild the package.
Add Tee916.
Tee916 contains implicit unit(s) Chart, TeeConst, TeeHtml, TeCanvas, TeEngine, TeeProcs, TeeFilters, Series, TeeSpline.”


On "ok", the message ”Invalid pointer operation” is displayed, and PivotCube is not installed.

I've removed from "Install packages" the "TeeChartPro 2011 VCL Components", without deleting the corresponding *.bpl from disk: in this case PivocCube compiles and install even with "DclTeePro916" in requires clause! But cannot install the DclTeePro916.bpl.

I've repeted the full sequence of disintalling PivocCube (ok), installing DclTeePro916 (ok), installing PivotCube (failed), disinstalling DclTeePro916 (ok), building PivotCube (ok), installing PivotCube (failed! "Invalid pointer") with no success, so somethig is changed from first attempt.


Any idea?

Thanks.

Giorgio


The package source is:

“package PivotCube;

{$R *.res}
{$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
{$ALIGN 2}
{$ASSERTIONS ON}
{$BOOLEVAL OFF}
{$DEBUGINFO OFF}
{$EXTENDEDSYNTAX ON}
{$IMPORTEDDATA ON}
{$IOCHECKS ON}
{$LOCALSYMBOLS OFF}
{$LONGSTRINGS ON}
{$OPENSTRINGS ON}
{$OPTIMIZATION ON}
{$OVERFLOWCHECKS OFF}
{$RANGECHECKS OFF}
{$REFERENCEINFO OFF}
{$SAFEDIVIDE ON}
{$STACKFRAMES OFF}
{$TYPEDADDRESS OFF}
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
{$IMAGEBASE $400000}
{$DEFINE RELEASE}
{$DEFINE _NONDLL}
{$ENDIF IMPLICITBUILDING}
{$DESCRIPTION 'PivotCube VCL components'}
{$IMPLICITBUILD ON}

requires
designide,
dclbde,
rtl,
vcl,
DclTeePro916,
dsnap,
adortl,
Tee916; ---- Added by compiler. On XE this is not present and it works fine.

contains
PivotCubeReg in '..\PivotCubeReg.pas';

end.”

Re: Installing in DelphiXE2 TeeChartPro916 and PivotCube

Posted: Fri Dec 30, 2011 8:20 am
by yeray
Hi Ged-ware,

You could try manually editing the "package PivotCube" above (with notepad or similar) and change the Tee916 reference for TeePro916.
However, I'm afraid this integration package is not supported by Steema Software so I'd suggest you to contact the PivotCube manufacturer asking for instructions.

Re: Installing in DelphiXE2 TeeChartPro916 and PivotCube

Posted: Fri Dec 30, 2011 8:56 am
by 16560453
Hi Yeray, it seems something coming from TeeChartPro.
When running PivotCube package "install", the compiler ask for "Tee916" to be added (even if actually present in the package source), and the final step of package installing crashes with this message:

"Access violation at address xxx in module 'DclTree2D16Tee9.bpl'. Write of address yyy"

Re: Installing in DelphiXE2 TeeChartPro916 and PivotCube

Posted: Fri Dec 30, 2011 9:24 am
by yeray
Hi Ged-ware,

So you are compiling and installing the package through an installer, right? I mean the TeeChart for PivotCube integration. I assume the regular PivotCuve package has an installer but the integration with TeeChart package(s) may be editable and manually compilable in a similar way than we do with the TeeChart integration for QuickReport (see the instructions for it in the QuickReport article here).
Please, contact PivotCube's manufacturer as I don't have enough information about their installer nor the packages to integrate TeeChart with it.

Re: Installing in DelphiXE2 TeeChartPro916 and PivotCube

Posted: Fri Dec 30, 2011 10:07 am
by 16560453
Hi Yeray, you are right.
I've downloaded a recent update of PivotCoube source code, then I've changed the PivotCube.dpk "require" section from "tee," to "TeePro916", and it installs fine!
Thanks.
Giorgio

Re: Installing in DelphiXE2 TeeChartPro916 and PivotCube

Posted: Fri Dec 30, 2011 10:18 am
by yeray
Hi Giorgio,

That's great! :D