ACI API 25.4
ACI API Programming Guide

# aciObjectCreate

Call the `aciObjectCreate` function to create an ACI object.

## Syntax

    aciError aciObjectCreate (
       t_aciObject** ppObject,
       aciObjectType nType);

## Arguments

Arguments | Type/Description
--- | ---
`ppObject` | `t_aciObject**` On return, the ACI object you created.
`nType` | `aciObjectType` One of the following data type constants: `ACI_CONNECTION`. A connection object. `ACI_COMMAND`. A command object. `ACI_DATA`. A data object.

## Discussion

This function creates and allocates memory for an ACI object of type `nType`. Typically, you do not create `ACI_DATA` type objects; call the `aciObjectExecute` function instead. For information about the `aciObjectExecute` function, see aciObjectExecute.

## Examples

    aciObjectCreate(&pCommand, ACI_COMMAND);
    aciObjectCreate(&pConnection, ACI_CONNECTION);
    aciObjectCreate(&pResponse, ACI_DATA);

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery ACI API 25.4

Topic Title: aciObjectCreate