Skip to content

problem running this library #7

@1knueller

Description

@1knueller

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions