TidyManaged
TidyManaged copied to clipboard
Made it so TidyManaged will automatically switch between the 32bit and 64bit version of libtidy.
Made it so TidyManaged will automatically switch between the 32bit and 64bit version of libtidy. The 32bit version of libtidy should be named "libtidy32.dll" and the 64bit version of libtidy should be named "libtidy64.dll"
Hi there - thanks for this. I don't suppose you've tested it on non-Windows platforms? I suppose we can remap the DllImport library names via some sort of Mono-specific configuration in an assembly.config file... although it'd be nice if that wasn't necessary.
Let me know & I'll have a look if you haven't tested already.
Thanks, Mark
I have not tested my changes on mono. My changes should not significantly change how libtidy loads on mono. Something similar to the config section below should work.
<configuration> <dllmap dll="libtidy32.dll" target="/Users/Mark/Code/Tidy/TestHarness/libtidy32.dylib"/> <dllmap dll="libtidy64.dll" target="/Users/Mark/Code/Tidy/TestHarness/libtidy64.dylib"/> </configuration>
Regards, Richard