1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

OnDemand content server in C

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

  1. Poonamol

    Poonamol New Member

    Joined:
    Mar 31, 2010
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    0
    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.
     

Share This Page