When I call CVI_AppBuildProject, the warning message appears sometimes. My CVI version is CVI 6.0.
Here's my code snippet:
CVI_AppSetProjectTargetType (Handle, NULL,
CVIConst_CVI_TARGET_TYPE_EXECUTABLE,
NULL);
CVI_AppCreateObjectFile (Handle, NULL, path, 0, NULL);
long errReturn0, errReturn1, errReturn2, errReturn3;
CVI_AppSetWarningBoxes(Handle, NULL, 0, &errReturn0);//errReturn0 returns 0
CVI_AppBuildProject (Handle, NULL, NULL);
CVI_AppGetCVIState(Handle, NULL, &errReturn0, NULL, &errReturn1,
NULL, &errReturn2, &errReturn3);
The params returned:
errReturn0 = 0;
errReturn1 = errReturn2 = errReturn3 = 0xcccccccc;
Sorry, I
don't know how to fill in the other 2 params of CVI_AppGetCVIState.
My cvi project has more than 50 files and the building costs about 10 seconds. Could it be the possible reason?