Not 64bit compatible #3

wonea opened this Issue Mar 22, 2011 · 1 comment

2 participants


After moving to x64, tidylib now throws an exception when Document object is created. "BadImageFormatException occured - An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"

This seems like a 64bit problem as it was working fine beforehand. More talk is available here;


I've just tried my 64-bit build of libtidy.dll under 64-bit Windows 7, and as long as the TidyManaged wrapper code is built using "Any CPU" and your referencing project is also "Any CPU", things work fine. If running under ASP.NET, you'll need to make sure your app pool is running in 64-bit mode as well ("Enable 32-bit applications" should be false).

@markbeaton markbeaton closed this Jun 10, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment