I have downloaded the newest code for Aspose Cell C++ which I have found under this link:
I was able to run the Demo project and everything works fine but the problem I faced is when I am trying to evaluate the attached files which I have placed in Demo\sourceFile folder.
For this I modified the main function of the Demo project to:
Code in ‘main’ function:
intrusive_ptr<IWorkbook> wb1 = Factory::CreateIWorkbook(sourcePath->StringAppend(new String("test_sheet_correct.xlsx"))); wb1->CalculateFormula(); Console::WriteLine(new String("Test Sheet Correct calculated.")); intrusive_ptr<IWorkbook> wb2 = Factory::CreateIWorkbook(sourcePath->StringAppend(new String("test_sheet_wrong.xlsx"))); wb2->CalculateFormula(); Console::WriteLine(new String("Test Sheet Wrong calculated."));
The first excel sheet file works fine (this one is just shorter version of the problematic second one where I have removed the cells content all between the range: E18:AA20 and this is the only difference between them) but for the second file the program is terminating on CalculateFormula function.
Could You tell me to how is possible to solve this problem?
excel_files.zip (805.6 KB)
Thank You in advance!