I downloaded and installed the free WebKitPDF package and I'm having trouble getting anything to to work with it (including the bundled sample application).
I am unable to load the WebKit.dll. Executing this line:
Code: Select all
HMODULE hWebKit = LoadLibrary(L"WebKit.dll");
returns a 0 and I get an error message reporting a runtime error R6034. I believe this is because of a missing or damaged manifest specifying what C runtime should be used, but I'm not sure.
When I run the sample application, I get the same error.
I was also thinking that I shouldn't have to manually load the library. Shouldn't there be a WebKit.lib file?
I'm using Visual Studio 2012 on Windows 8.
Thanks,
Cory