Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load DLL 'wkhtmltox0' #31

Closed
doktrova opened this issue Nov 14, 2014 · 7 comments
Closed

Unable to load DLL 'wkhtmltox0' #31

doktrova opened this issue Nov 14, 2014 · 7 comments

Comments

@doktrova
Copy link

"Unable to load DLL 'wkhtmltox0': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"
I have added it on the bin file manually. I also have tried both x86 and 64 bit. And have build the project on either one or the other instead of the Any CPU. Any other suggestions?

@jhackney
Copy link

jhackney commented Mar 4, 2015

doktrova, were you able to resolve your issue? I'm running into the same thing and having a difficult time understanding what is going on.

@doktrova
Copy link
Author

doktrova commented Mar 4, 2015

No I couldn't resolve it in time and the deadline for the project was approaching so I ended up using wkhtml as a process instead of using this wrapper.

@jhackney
Copy link

jhackney commented Mar 4, 2015

Thank you for the quick response!

Jonas

On Wed, Mar 4, 2015 at 4:39 PM, Don Oktrova notifications@github.com
wrote:

No I couldn't resolve it in time and the deadline for the project was
approaching so I ended up using wkhtml as a process instead of using this
wrapper.


Reply to this email directly or view it on GitHub
#31 (comment).

Thanks,
Jonas Hackney

@pruiz
Copy link
Owner

pruiz commented Dec 24, 2015

It looks like you were not registering your native bundle during library's initialization.

@pruiz pruiz closed this as completed Dec 24, 2015
@JulianMay
Copy link

I'm stuck with the same problem - could you elaborate on "It looks like you were not registering your native bundle during library's initialization."?
How does one do that?
Thanks

@pruiz
Copy link
Owner

pruiz commented Dec 29, 2015

Hi @JulianMay,

Each required of the native bundles containing platform-specific dll binaries, have to be registered during the application's initialization, so WkHtmlToXSharp can deploy them on first invocation.

You can see an example inside the unit-tests at: https://github.com/pruiz/WkHtmlToXSharp/blob/master/WkHtmlToXSharp.Tests/PdfConverterTests.cs#L28

@JulianMay
Copy link

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants