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
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 ...)
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
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