While registering a com dll using RegSvr32 I encountered the following problem in Windows 7
The moduleThe module “D:\..\support files\..\abc.dll” was loaded but the call to DllRegisterServer failed with error code 0×80020009.
For more information about this problem, search online using the error code as a search term.
1) I opened command prompt in administrator mode. ( Always open the cmd.exe in administrator mode while registring a dll in Vista or Win 7, Steps – Type cmd in search box, when cmd is listed in the above list, right click it and click open as administrator)
2) The folder “Support files” was having a space so it failed to locate it. I navigated to the support files and then used regsvr32 command and all worked fine :)