OnDemand content server in C

Discussion in 'Database' started by Poonamol, Apr 16, 2010.

  1. Poonamol

    Poonamol New Member

    Mar 31, 2010
    Likes Received:
    Trophy Points:

    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.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice