Convert PDF to Word using Aspsoe.PDF for C++ - System.:Exception: key

@asad.ali

Another files:
Access violation at address 00007FF8DF6E9EAC in module 'Aspose.PDF.Cpp_vc14x64.dll'. Read of address FFFFFFFFFFFFFFFF
【数学试卷 答案】漳州市三校联考2019-2020八年上第一次月考_赤兔PDF转换器_20201002125419.zip (225.8 KB)

Access violation at address 00007FFAB2FB20AC in module 'Aspose.PDF.Cpp_vc14x64.dll'. Read of address FFFFFFFFFFFFFFFF
宁夏回族自治区总工会年度小额零星办公用品、广告制作、印刷品、微视频制作供应商集中采购项目终 (1).zip (457.9 KB)

Failed to convert
建安B类(密码xinjiangjiangong)_赤兔PDF转换器_20201001122528.zip (1.6 MB)

@kngstr

Could you please make sure that you are using Aspose.PDF for C++ 20.9 in your environment? Also, regarding the tickets (PDFCPP-1416, PDFCPP-1410, PDFCPP-1420), we were not able to reproduce the exception while testing the scenario with Aspose.PDF for C++ 20.9.

However, in PDFCPP-1416, the file was incorrectly converted into DOCX and we also found this issue in equivalent version of .NET API. Therefore, have logged an issue as PDFNET-48781 in our issue management system. We will inform you as soon as it is resolved.

@asad.ali

Thanks.
I tested with C++ 20.9.

This is not well formated.

This is a page of pdf file 图片.jpg (113.5 KB)
And this is the converted result with new sdk 图片.png (38.4 KB)

This is not well formated too, and I asked my friends to test with .net version, it took a very very long time if load license.

@kngstr

We have logged following issues in our issue tracking system for your files:

  • PDFCPP-1425
  • PDFCPP-1425

We will further look into tickets detail and keep you posted with the status of their correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

@asad.ali

The bugs seems to be fixed.
But these files are still not well formated:

@kngstr

We had already noticed the formatting issue in this file and logged an issue as PDFNET-48781 in our issue management system as the issue existed in .NET API as well.

Furthermore, we have logged following ticket:

  • PDFCPP-1436
  • PDFCPP-1437

We will further investigate them and let you know as soon as they are resolved. Please give us some time.

We are sorry for the inconvenience.

@asad.ali

Another file with [Exception]System::Exception: key
Tested with PDF for C++ 20.11, it is not well formated.
03无限德州扑克应用指南20130520.zip (7.5 MB)

@kngstr

We have logged an issue as PDFCPP-1477 in our issue tracking system for the sake of correction. We will look into its details and keep you posted with the status of its correction. Please give us some time.

We are sorry for the inconvenience.

@asad.ali

Hi,
It’s been a long time.
Do you have schedule?
How long will these be fixed?
Thanks.

@kngstr

We are afraid that the logged tickets have not been yet fully investigated due to the issues logged previously. However, we will surely inform you as soon as we have some definite updates regarding their resolution. Please give us some time.

We apologize for the inconvenience.

@asad.ali

Thanks.
It took too long time.

@kngstr

We really apologize for the delay in resolution. However, we have recorded your concerns and will surely consider them during issue investigation. Please give us some time.

@kngstr

We would like to share with you that the issues (PDFCPP-1436, PDFCPP-1424, and PDFCPP-1477) have been fixed and their fix will be included in the 21.3 version of the API. Furthermore, PDFCPP-1425 is related to the .NET version of the API, and a ticket PDFNET-49433 has been logged for further investigation. We will let you know as soon as additional updates are available.

We apologize for the inconvenience.

@asad.ali

Thanks for this good news.

@kngstr

We would like to share with you that the ticket PDFCPP-1437 has been resolved in 21.3v of the API.

@asad.ali

Thanks. Good news.

@asad.ali

Hi,
Did you test these files with license?
Today I got a temporary license for testing, found these files are stille not fixed.

Test SDK: C++ 21.3
Test code: pdfTest.zip (2.0 KB)

These files cause app crash.

These files still can not convert

@kngstr

Yes, we tested this file during the build of the latest version and found the issue fixed. However, could you please share a screenshot of app crash so that we can further proceed to assist you accordingly.

Some of the issues among these were resolved in 20.9 version of the API. Would you please share what kind of error your noticing? OR the issue is related to bad formatting in the output files?

@asad.ali

This is the screenshot: aspose.av.png (38.0 KB)

Yes. But this is the first time when I tested with license.
These files got Access violation as I reported before.
exceptions.crash.txt.zip (4.4 KB)

@kngstr

About application crash, the issue PDFCPP-1437 was logged with the below code snippet:

auto lic = System::MakeObject<Aspose::Pdf::License>();
lic->SetLicense("J:\\Works\\AsposeSDK\\Bin\\Aspose.Total.C++.lic");

auto options = System::MakeObject<Aspose::Pdf::DocSaveOptions>();
options->set_Format(Aspose::Pdf::DocSaveOptions::DocFormat::DocX);

auto doc = System::MakeObject<Aspose::Pdf::Document>(u"testpdf.pdf");
doc->Save("testpdf-save.docx", options);

So it was fixed and tested with default recognition mode which is Aspose::Pdf::DocSaveOptions::RecognitionMode::Textbox. In this mode, document is converted to .docx pretty well. But indeed with RecognitionMode::Flow, app is crashed. A new issue as PDFCPP-1556 has been logged for it and we will inform you as soon as it is resolved.

Regarding the Access Violation issue, could you please share the sample code snippet which you are using at the moment?