G
Gloria
I have an application that has to export data to an Excel file using 2003 and
2007.
Originally, it was for 2000 and used the excel9.h and excel9.cpp files.
These header and cpp files worked fine for 2003 but when I put my
application on a system with 2007, it crashes.
I read in a KB Article that I need excel.h and .cpp. Following these
directions, I went thru the Class Wizard in 6.0 to add them to my project.
I deleted the excel9.h and .cpp files and changed the #include directives to
point to excel.h. However, when i recompile, I get errors saying all of the
excel classes are redefinitions.
Ex of error: error C2011: 'Adjustments' : 'class' type
redefinition
When I right-click on an Excel class to go to its definition, I get the Find
Source Dialog box and it is looking for the excel9.h file.
The include directive at the top of the file is:
#include excel.h
and I deleted the #include excel9.h.
Why is it looking for excel9.h?
Thanks,
Gloria
2007.
Originally, it was for 2000 and used the excel9.h and excel9.cpp files.
These header and cpp files worked fine for 2003 but when I put my
application on a system with 2007, it crashes.
I read in a KB Article that I need excel.h and .cpp. Following these
directions, I went thru the Class Wizard in 6.0 to add them to my project.
I deleted the excel9.h and .cpp files and changed the #include directives to
point to excel.h. However, when i recompile, I get errors saying all of the
excel classes are redefinitions.
Ex of error: error C2011: 'Adjustments' : 'class' type
redefinition
When I right-click on an Excel class to go to its definition, I get the Find
Source Dialog box and it is looking for the excel9.h file.
The include directive at the top of the file is:
#include excel.h
and I deleted the #include excel9.h.
Why is it looking for excel9.h?
Thanks,
Gloria