Previous Topic: ReturnNext Topic: EApiFetchModelInfo


Example

EAPIRC rc = EAPI_SUCCESSFUL_RC;
char[80] model_dir;
char[80] errfile;
strcpy(model_dir, "%GENxx%\\Gen\\sample.ief”);
strcpy(errfile, "c:\\ief\\err.log”);
rc = EApiOpenModel(model_dir, errfile);
if (rc != EAPI_SUCCESSFUL_RC)

Note: xx refers to the current release of CA Gen. For the current release number, see the Release Notes.

The model ID is not returned from this function. The model ID is always 0 (zero) for a free workstation model when calling other API routines that require a model ID.