08-21-2015 01:23 PM
hi
I ma trying to create report uisng Excel . I tested with smaple code its working fine but when i trying to add in to my project its giving an error like "excel2000.h"(7333,66) error: expected ')',What could be the issue , Please give me solution .
Solved! Go to Solution.
08-23-2015 11:29 AM
Please reply any one who knows .
@patil1983 wrote:
hi
I ma trying to create report uisng Excel . I tested with smaple code its working fine but when i trying to add in to my project its giving an error like "excel2000.h"(7333,66) error: expected ')',What could be the issue , Please give me solution .
When i am trying to add Excel2000.h file its shows "excel2000.h"(7333,66) error. please reply ..
08-24-2015 01:20 AM
I suspect there's a problem with either your project build settings or some conflict in your source code.
Will adding the excel2000.h file to a new blank project (e.g. project from template) also cause the compile error? I assume not. In this case, you could begin determining what's causing the build issue in your project by starting off with a blank CVI project and then incrementally adding files and code to your new project until the error appears.
What version of LabWindows/CVI are you using?
Best regards!
- Johannes
08-24-2015 09:15 AM
I am uisng 13.0.2 version .
I have an working my project , I wnat to generate reprot in Excel so for that iam trying to add Excel2000.h file but its giving an error . As below .
08-24-2015 09:46 AM
I suspect that your error is originating inside your source code, somewhere before you are #including excel.h.
You should be able to trace the bug down by looking at the build errors in excel2000.h: at each occurence of the error, the compiler is complaining about the space parameter. Most likely you have redefined space somewhere in your source code to something like this:
#define space " "
That #define will make the compiler replace all occurences of the space token, even in excel2000.h, leading to invalid function declarations, thus causing the compile errors.
Best regards!
- Johannes
08-28-2015 12:58 PM
THANKS FOR YOUR RPLY .