Hi!
Im happy you picked up that project.
I was about to merge the text comy feature myself and found your repo.
I have a problem though. You write you updated to use the newer binaries. If i try to load a document with them i get the following error:
Managed Debugging Assistant 'PInvokeStackImbalance' : 'A call to PInvoke function 'PdfiumViewer!PdfiumViewer.NativeMethods+Imports::FPDF_LoadCustomDocument' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.'
var doc = PdfiumViewer.PdfDocument.Load(filepath);
this.pdfViewer2.Document = doc;
Hi!
Im happy you picked up that project.
I was about to merge the text comy feature myself and found your repo.
I have a problem though. You write you updated to use the newer binaries. If i try to load a document with them i get the following error:
Managed Debugging Assistant 'PInvokeStackImbalance' : 'A call to PInvoke function 'PdfiumViewer!PdfiumViewer.NativeMethods+Imports::FPDF_LoadCustomDocument' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.'