pruiz / WkHtmlToXSharp

C# wrapper wrapper (using P/Invoke) for the excelent Html to PDF conversion library wkhtmltopdf library.
239 stars 84 forks source link

System.BadImageFormatException thrown when disposing MultiplexingConverter... #56

Open fgasnier71 opened 4 years ago

fgasnier71 commented 4 years ago

This exception was thrown several times on Windows 7 SP1 or Windows 10...

System.BadImageFormatException: 试图加载格式不正确的程序。 (Exception from HRESULT: 0x8007000B)

at WkHtmlToXSharp.NativeCalls.wkhtmltopdf_deinit() at WkHtmlToXSharp.WkHtmlToPdfConverter.Dispose(Boolean disposing) at WkHtmlToXSharp.WkHtmlToPdfConverter.Finalize()

I could not reproduce it myself though.