Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted
Updated 15-Apr-10 22:21pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900