Rank: Member
Groups: Registered
Joined: 2/21/2019(UTC) Posts: 15
|
 error_pdfium.png (13kb) downloaded 0 time(s). Stack Trace: at Patagames.Pdf.Pdfium.FPDFDOC_InitFormFillEnvironment_native(IntPtr document, IntPtr formInfo, IntPtr jsPlatform) at Patagames.Pdf.Pdfium.FPDFDOC_InitFormFillEnvironment(IntPtr document, IntPtr formInfo, IntPtr jsPlatform) at Patagames.Pdf.Pdfium.FPDFDOC_InitFormFillEnvironment(IntPtr document, FPDF_FORMFILLINFO formInfo, IPDF_JSPLATFORM jsPlatform) at Patagames.Pdf.Net.PdfForms.Init(PdfDocument document) at Patagames.Pdf.Net.PdfCustomLoader.Load() at Patagames.Pdf.Net.PdfDocument.Load(Stream stream, PdfForms forms, String password, Boolean leaveOpen)
|
|
|
|
Rank: Member
Groups: Registered
Joined: 2/21/2019(UTC) Posts: 15
|
This is happening in pdfViewer.LoadDocument
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 1/15/2021(UTC) Posts: 1  Location: CA
|
Has there been any resolution to this issue? I am also getting the same error after updating from v3.6.4 to v4.39.2704 using nuget package manager. Here is the code: Code:
private void showPDF(byte[] content)
{
ReleasePDFStream();
// this will be released on unload
this.pdfStream = new MemoryStream(content);
pdfViewer1.LoadDocument(pdfStream);
}
Edited by user Friday, January 15, 2021 7:30:29 PM(UTC)
| Reason: Formatted code
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 961
Thanks: 3 times Was thanked: 115 time(s) in 112 post(s)
|
Clean and rebuild VS solution. I think some files are in inconsistent state (left over from the old version). Check versions of all assemblies and native dlls in the project output folder. For version 4.39.2704 it should be such as indicated here: https://forum.patagames....released-on-Dec-21--2020
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close