This was hell.
I have a pretty standard DLL, TidyCOM.dll, which I use in my applications to well, you know what HTML Tidy does. If not, go look it up.
So, I figure it's as simple as usual: copy the TidyCOM.dll to the system32 directory and run regsvr32.exe against it, as in
Nope. Fail. There is an error message but I won't bother you with it. No luck in the universe would make this thing install.
This led to a lot of time spent searching the internet for an answer. What I found was this:
If you are running on a 64-bit machine, the programs in system32 AREN'T 32bit, but instead 64 bit (WTF?!). If you want to register this dll, copy your DLL to the Sys64WOW folder, open a command prompt as an administrator (right click on command prompt and choose "Run as Administrator"), navigate to the windows\Sys64WOW folder and try the above command (regsvr32.exe DLLName.dll) and VOILA! All registered.
And yes, you owe me a coke.


No comments:
Post a Comment