Skip to content

OpenFile throws 'System.DllNotFoundException' #11

@mgnslndh

Description

@mgnslndh

I call OpenFile on the MoonPdfPanel and get the following exception:

An exception of type 'System.DllNotFoundException' occurred in MoonPdfLib.dll but was not handled in user code

Message

Det gick inte att läsa in DLL-filen libmupdf.dll: Det går inte att hitta den angivna modulen. (Undantag från HRESULT: 0x8007007E)

Stack Trace

   vid MoonPdfLib.MuPdf.MuPdfWrapper.NativeMethods.NewContext(IntPtr alloc, IntPtr locks, UInt32 max_store)
   vid MoonPdfLib.MuPdf.MuPdfWrapper.PdfFileStream..ctor(IPdfSource source)
   vid MoonPdfLib.MuPdf.MuPdfWrapper.GetPageBounds(IPdfSource source, ImageRotation rotation, String password)
   vid MoonPdfLib.MoonPdfPanel.LoadPdf(IPdfSource source, String password)
   vid MoonPdfLib.MoonPdfPanel.Open(IPdfSource source, String password)
   vid MoonPdfLib.MoonPdfPanel.OpenFile(String pdfFilename, String password)

I am using Nuget package version 0.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions