Loading PPTX with Aspose.Slides for C++ 23.11 Throws "Specified Cast Is Not Valid" Error

Using version Aspose.Slides for C++ 23.1 before upgrading can open files, when I upgraded to Aspose.Slides for C++ 23.9 or C++ 23.11 open the file caught an exception “Specified cast is not valid”.

code:

try
{
	auto pres = System::MakeObject<Aspose::Slides::Presentation>(filePath);
}
catch (const System::Exception& error)
{
	std::string errorMsg = error->get_Message().ToUtf8String();
}

ppt file: https://github.com/357809764/resource/blob/main/Specified%20cast%20is%20not%20valid2.pptx

@101ppt,
Thank you for reporting on the issue.

I’ve reproduced the exception when loading the PowerPoint presentation file.

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): SLIDESCPP-3828

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.

The issues you found earlier (filed as SLIDESCPP-3828) have been fixed in Aspose.Slides for C++ 23.12 (Windows, Linux, macOS).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.