Go4Expert (http://www.go4expert.com/)
-   Database (http://www.go4expert.com/forums/database-forum/)
-   -   OnDemand content server in C (http://www.go4expert.com/forums/ondemand-content-server-c-t21781/)

Poonamol 16Apr2010 12:02

OnDemand content server in C

I want to use OnDemand Content Server as database in C on AIX.

I want to connect to DB and search for folder, for that i used DKDatastoreOD with ENTITY_TYPE=TEMPLATES as connection string.
I am able to connect to DB.
Now I want the fields of the selected folder in DB, so I used DKFolderOD with getCritInfo() and getNumQueryCrit().

DKFolderOD ** pFolder;
DKSearchCriteria** pCriteres = (*pFolder)->getCritInfo();
printf(pCriteres );
int iNumQueryCrit = (*pFolder)->getNumQueryCrit();
printf(&NumQueryCrit );
But i am receiving Segmentation fault as a error.

Please help me out.
Thanks in advance.

All times are GMT +5.5. The time now is 07:25.