dbTalk Databases Forums  

essbase API

comp.databases.olap comp.databases.olap


Discuss essbase API in the comp.databases.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
markoniinimaki
 
Posts: n/a

Default 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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.