09-10-2008 11:32 AM
How can I turn off what is in [ Labwindows CVI : Options - Build Options - Prompt for include file paths ] by activex ?
In other words, let's say that with activex I've created a project. added there some files, but one of them (e.g. not_so_important.c) has include defines (#include "forgotten.h" // == needs other files), which I didn't includ in project file. So I don't want now, is to see the popup window asking me if I wish to look for missing files, but I just want the build the fail so I can then store CVI_AppSaveBuildErrorWindowContents and look at it later.
Any ideas ?
I hope I can avoid use of CVI_ApplicationEventsRegOnBuildBegin
09-11-2008 10:22 AM
This option cannot be changed using the ActiveX interface to CVI. One way to get the behavior you want is to first create an empty project file in CVI, turn off this option, and save the project file. Then in your ActiveX client program, instead of creating a new project, copy this file using CopyFile to the destination you want and call OpenProject. Now the project will have the build option you want.