Hi,

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.