1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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