Home > Software engineering >  Vc with Excel interface problem
Vc with Excel interface problem

Time:01-10

I use VS2005 export Excel CApplication. J h, CFont0. J h, CRange. H ", CWorkbook. J h, CWorkbooks. J h, CWorksheet. J h, CWorksheets. H the seven heads file.
And then copy them to VS2019, under a CPP file to add:
# include "Excel Files/CApplication. H"
# include "Excel Files/CFont0. H"
# include "Excel Files/CWorkbook. H"
# include "Excel Files/CWorksheet. H"
4 size file, can be compiled through,
When adding statement # include "CRange. H", appear a large number of compilation errors, one of the first error is: "CRange. H (26, 29) : error C3646:" get_Application ": unknown rewrite specifiers,"
The question has bothered me for a long time, hope leaders can help to solve,
  • Related