When I call CVI_AppBuildProject() for the first time,before completion,it will pop up a warning message "Server Busy":
"This action cannot be completed because the "LabWindows/CVI" program is not responding.Click the appropriate button on the task bar to activate the program and correct the problem."
My CVI project includes about 30 *.c files.It takes a long time to build.Is this the reason of "Server Busy"?
The error doesn't affect the running of my program at all.But I don't know why it occurs,what does it mean,and how to make it disappear.
Belows are part of my source code:
CVI_AppSetProjectTargetType (Handle, NULL,
CVIConst_CVI_TARGET_TYPE_EXECUTAB
LE,
NULL);
str = m_ProjectDir + "\\main.obj";
strcpy(path,str);
CVI_AppRemoveFileFromProject (Handle, NULL,path , NULL);
str = m_ProjectDir + "\\main.c";
strcpy(path,str);
CVI_AppAddFileToProject (Handle, NULL,path, NULL);
str = m_ProjectDir;
strcpy(path,str);
CVI_AppCreateObjectFile (Handle, NULL, path, 0, NULL);
//remove main.c from project
str = m_ProjectDir + "\\main.c";
strcpy(path,str);
CVI_AppRemoveFileFromProject (Handle, NULL, path, NULL);
//add main.obj to project
str = m_ProjectDir + "\\main.obj";
strcpy(path,str);
CVI_AppAddFileToProject (Handle, NULL, path, NULL);
CVI_AppBuildProject (Handle, NULL, NULL);