Aspose::Cells::System::ArgumentException Error

Hello.
Aspose::Cells::System::ArgumentException is raised when Aspose::Cells::Startup() is executed.
This error causes a memory leak on exit in your own application.
Is this ArgumentException normal behaviour?

Aspose.Cells for C++ Version: 23.12.0 , 24.4.0 are the same.

[SOURCE CODE] Aspose.Cells-for-C-master
int main(int argc, char** argv)
{
Aspose::Cells::Startup(); <= error
.
.
.

[Output Window]
Exception thrown at 0x00007FFD7F484F99 in CellsCPP.exe: Microsoft C++ exception: Aspose::Cells::System::ArgumentException at memory location 0x00000044245FF508. <= error

Exception thrown at 0x00007FFD7F484F99 in CellsCPP.exe: Microsoft C++ exception: Aspose::Cells::System::ObjectDisposedException at memory location 0x00000044245FEF50.
Exception thrown at 0x00007FFD7F484F99 in CellsCPP.exe: Microsoft C++ exception: Aspose::Cells::System::ObjectDisposedException at memory location 0x00000044245FEF50.
Exception thrown at 0x00007FFD7F484F99 in CellsCPP.exe: Microsoft C++ exception: Aspose::Cells::System::ObjectDisposedException at memory location 0x00000044245FEF50.
Exception thrown at 0x00007FFD7F484F99 in CellsCPP.exe: Microsoft C++ exception: Aspose::Cells::System::ObjectDisposedException at memory location 0x00000044245FEF70.

[Environment]
Microsoft Visual Studio Professional 2022
Version 17.9.6
VisualStudio.17.Release/17.9.6+34728.123
Microsoft .NET Framework
Version 4.8.04084

@Kawata
By using the sample code for testing on the latest version v24.4, we were able to run normally without any exceptions. Please refer to the attachment. result.zip (53.9 KB)

image.jpg (175.5 KB)

The Excel file operation works successfully, but there is a memory error.

@Kawata
We tested the sample project on the latest version v24.4 and still obtained the correct results. Please refer to the attachment. result.png (82.1 KB)

Additionally, you can try pulling the sample project again, uninstalling and reinstalling the dependency library for retesting. You can also debug and run it, enter the function to see which statement has an error.

image.jpg (203.2 KB)

The attached image has the same error.
Is the content of this output OK?

@Kawata
There is indeed a problem of throwing ArgumentException, but this exception has been caught in our Library, so it will not cause memory leaks or errors, so please feel free to use it. We will solve this problem in v24.5 later. Thank you for pointing this out.

@Kawata
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): CELLSCPP-1073

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Thank you for your support.

@Kawata
You are welcome. Thank you for your feedback. Once there are updates, we will notify you promptly.

@Kawata,

We are pleased to inform you that your issue (logged earlier as “CELLSCPP-1073”) has been resolved. The fix will be included in our upcoming release ( Aspose.Cells for C++ v24.5) that we plan to release in the second half of May 2024. You will be notified when the next version is released.