04-10-2007 01:30 PM
04-10-2007 06:22 PM
04-10-2007 08:32 PM
04-10-2007 09:41 PM
04-10-2007 10:53 PM
Mert,
Thanks for the explanation.
Steve
03-06-2008 04:41 PM
03-07-2008 08:23 AM
Hi,
Here's simple program showing error (LabWindows v8.5):
#include "wordreport.h"
#include <analysis.h>
#include <cvirte.h>
int main (int argc, char *argv[])
{
CAObjHandle data_report = 0;
CAObjHandle ms_word = 0;
if (InitCVIRTE (0, argv, 0) == 0)
return -1; /* out of memory */
GetAnalysisErrorString (20006);
WordRpt_DocumentNew (ms_word, &data_report);
return 0;
}
Two errors on compile:
"analysis.h"(300,5) Expecting an enumerator identifier.
"analysis.h"(300,5) syntax error; found '-' expecting '}'.
TAJ
03-07-2008 02:48 PM
Hello TAJ,
Yes, you're correct. This is definitely a bug. I guess you might be the first person to combine wordreport and the analysis library in the same source file 🙂
This will be fixed in an upcoming CVI relesase. In the meanwhile, and assuming that you're not actually using NONE in your source code, you can insert an #undef NONE line between the two include statements.
Sorry about that.
Luis