将一个用wps软件可以正常打开的doc文件上传后报错 Error 500
https://products.aspose.com/words/cpp/conversion/
C++版本的aspose.words加载也会报错
auto Bytes = ConvertStringToByteArray(doc_data);
auto byteStream = System::MakeObject<System::IO::MemoryStream>(Bytes);
auto load_options = System::MakeObject<Loading::LoadOptions>(System::String(config.word_pwd));
auto doc = System::MakeObject<Document>(byteStream, load_options);
auto dstStream = System::MakeObject<System::IO::MemoryStream>();
doc->Save(dstStream, SaveFormat::Docx);
18a1d33ee5f05328393ade0d01bf7c58.zip (16.8 KB)