Opening the file caught an exception “Empty content in the AlternateContent”
sdk:aspose-slides-cpp-windows-23.1
code:
try
{
System::SharedPtr<System::IO::FileStream> stream = System::MakeObject<System::IO::FileStream>(pptFilePath, System::IO::FileMode::Open, System::IO::FileAccess::Read, System::IO::FileShare::ReadWrite);
System::SharedPtr<Aspose::Slides::Presentation> presentation = System::MakeObject<Aspose::Slides::Presentation>(stream);
}
catch (const System::Exception& error)
{
std::string errorMsg = error->get_Message().ToUtf8String();
}
ppt file:https://github.com/357809764/resource/blob/main/EmptyContentInTheAlternateContent.pptx