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

Free Support Forum - aspose.com

打开pptx文件报异常Object reference not set to an intance of an object

1、aspose-slides-cpp-22.4版本,通过如下代码打开pptx文件

System::MakeObject<Aspose::Slides::Presentation>(filePath);

此时会抛出异常内容为:Object reference not set to an intance of an object
2、通过wps或者PowerPoint打开正常
3、请问这个异常是什么原因导致的?
pptx文件:test11.zip (9.7 MB)

@101ppt,
感谢您报告问题。

我在加载演示文稿时重现了异常,并将 ID 为 SLIDESCPP-3474 的工单添加到我们的问题跟踪系统。很抱歉给您带来不便。我们的开发团队将调查此案。 问题解决后会通知您。

The issues you have found earlier (filed as SLIDESCPP-3474) have been fixed in Aspose.Slides for C++ 22.7 (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.

Roger that. Thank you very much

@101ppt,
Thank you for using Aspose.Slides.