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

Free Support Forum - aspose.com

Pdf to excel error using c++

Hi,

I’m using PDF for C++.
This is error meesage:图片.png (27.7 KB)

This is test code:

    auto doc = System::MakeObject<Aspose::Pdf::Document>(u"大连市工程造价信息网网刊〖2006.1-2021.1〗汇编【永禾所专用】(2).chm.pdf");
    auto opt = System::MakeObject<Aspose::Pdf::ExcelSaveOptions>();
    opt->set_Format(Aspose::Pdf::ExcelSaveOptions::ExcelFormat::XLSX);
    doc->Save(u"F:\\Users\\zhuying\\Desktop\\xxxx.xlsx", opt);
 
    std::cout << "done.\n";

This is test file:大连市工程造价信息网网刊〖2006.1-2021.1〗汇编【永禾所专用】(2).chm.pdf.7z (3.3 MB)

@kngstr

We tested the scenario in our environment using 21.8v of the API and noticed that the code kept running for more than 20 minutes and did not produce any output or error. Therefore, an issue as PDFCPP-1677 has been logged in our issue tracking system for further investigation. We will look into its details and keep you posted with the status of its rectification. Please be patient and spare us some time.

We are sorry for the inconvenience.