We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

CalculateFormula is terminating when trying to proceed my example file (C++)

Hi,

I have downloaded the newest code for Aspose Cell C++ which I have found under this link:
https://downloads.aspose.com/cells/cpp/new-releases/aspose.cells-for-c---19.3.1/

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!
Szymon Wlodarczyk

@Slanek,
We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

CELLSCPP-210 - Exception while calling CalculateFormula() using v19.3.1

Thank You!
I will be looking forward to it.

Greetings!

@Slanek,

We will let you know as soon as any update will be ready to share.

@Slanek,

This is to inform you that we will fix the bug in our upcoming version when we publish Aspose.Cells for C++ 19.4.0. The release is scheduled in the second/third week of April 2019.

Keep in touch.

The issues you have found earlier (filed as CELLSCPP-210) have been fixed in Aspose.Cells for C 19.4.0. This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi