Registering DLLs on 64-bit Windows systems
Here’s a bit of nerd knowledge I’d like to post, both for helping others and as a reminder for me when I run into this again later.
Trying to use regsvr32 to load DLLs you’ve dropped into the \Windows\System32 folder, but keep getting an error? If the error is:
The module xx.xxx failed to load. Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files. The specified module could not be found.
then try dropping the affected files into the SysWOW64 folder and registering them there instead. Apparently on x64 systems, the System32 folder is for 64-bit files only.
Why didn’t they call it System64 in that case?