Fast Reload of Cube

Discussion forum for PivotCube VCL users. Common questions. Bug and problem reports

Moderator: Alex Zencovich

Postby sn00py » Thu Sep 14, 2006 11:47 am

hmmm, in the demo project, i didn't get the error ...

is there something else i can check ?
sn00py
Developer
 
Posts: 21
Joined: Tue Sep 12, 2006 7:50 am

Postby AlexZencovich » Thu Sep 14, 2006 12:18 pm

There 2 major requirement to build app in non-DLL mode

1. _NONDLL must be defined in project options
2. Corresponding zCube_TLB.pas must be used (if you open right zCube_TLB.pas for nonDLL you may see last line like

{$INCLUDE COLCLASSES.PAS}

Check it. Check for parasite (installed by Delphi IDE automatically) zCube_TLB.pas in Delphi\IMPORTS subdir - it happened sometimes.
Best regards,

Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment
AlexZencovich
Site Admin
 
Posts: 580
Joined: Sun Jun 18, 2006 10:09 am

Postby sn00py » Thu Sep 14, 2006 12:52 pm

no, the project compiles fine (was only the _NONDLL condition, which i hasn't set)

But in the demo project, the error, didn't appears ...
i will try it if it has something to do with my config of the cube (i have written my own config load/save routines ...)
sn00py
Developer
 
Posts: 21
Joined: Tue Sep 12, 2006 7:50 am

Postby AlexZencovich » Thu Sep 14, 2006 2:06 pm

Probabyyou have zCube_TLB.pas in your porject directory?
Best regards,

Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment
AlexZencovich
Site Admin
 
Posts: 580
Joined: Sun Jun 18, 2006 10:09 am

Postby sn00py » Thu Sep 21, 2006 9:20 am

now it works ...

now i use following events for previnting reloading the cube twice :

for the first load i use the event cubeGridAfterRefresh (Because at the first load, i set the Rows and Columns ...)
for the following reload of the cube i use the event cubeDataAfterBuild

I tried it many times, and no error occurs
sn00py
Developer
 
Posts: 21
Joined: Tue Sep 12, 2006 7:50 am

Previous

Return to PivotCube VCL

Who is online

Users browsing this forum: No registered users and 2 guests

cron