essbase API -
03-14-2006
, 10:19 AM
Hi,
I'm trying to connect to essbase in a windows computer with a simple c
program. The .h and library files are in c:\ibm\db2olap\api\Include and
...\Lib. The client, server and the API were installed using IBM db2
olap developer edition.
My compiler is gcc with cygwin in the same computer. I compile with
gcc -I/cygdrive/c/ibm/db2olap/api/include program.c -o program
-L/cygdrive/c/ibm/db2olap/api/lib -lessapinu -lessdtu -lessotlnu
The program consists of a call of Ess_Init. The init struct is
ESS_API_VERSION, NULL, OL, 255, NULL...0L as in numerous examples.
However, Ess_Init fails with 1030723 that, according to error constants
in *.h's means the API version is wrong. I find this strange. I've
tried some other predefined values instead of ESS_API_VERSION but I
never manage to get through Ess_Init without errors.
Any hints?
Marko |