Re: regsvr32 error code 0x80004002



Norman Diamond wrote:
Until yesterday I could use Visual Studio 2005 to build DLLs using ATL.
Usually Visual Studio 2005 would register the DLLs during building
(yeah, there are still reasons to be an administrator while using Visual
Studio). When it failed, I could type a regsrv32 command into a command
prompt.

Today regsvr32 gives error code 0x80004002, Interface Not Supported.
(Actual wording: インターフェースがサポートされていません)

Some MSDN searching and some Google searching yield the following
information.

Windows Update gets broken similarly. Well I didn't try Windows Update
today, I'm trying to register one of my own DLLs that only uses ATL80
and CRT80.

Visual Basic 5 contains a working version of comcat.dll version 4.71.
If I find Visual Basic 5 then I can try overwriting Windows XP SP2's
version of comcat.dll with this old version, and see if that fixes it.
When Microsoft resumes distribution of Visual Basic 5, please let me know.

Windows Server 2003 Volume Shadowing Services gets broken similarly. XP
doesn't have a UI for Volume Shadowing Services, but it has some of the
same DLLs, so I reregistered all of the DLLs that exist. Those worked.
But regsvr32 still refuses to register my DLL.

I also tried reregistering an old copy of my DLL, built two months ago
and properly registered two months ago. The error is the same, 0x80004002.

Does anyone know how to get regsvr32 working again on ATL DLLs?

I've seen this do wonders - try:
msiexec /unreg
msiexec /regserver
.



Relevant Pages

  • Re: problem porting vb dev apps to new computer
    ... > created by the "C' project, then do the same for all the ocx from the ... you can select any number of dlls or ocxs in windows ... Register and unregister components with context menus ... > a totally clean system with VS6 that the ocx get built before the parts ...
    (microsoft.public.vb.general.discussion)
  • Re: update from control panel never displays anything - Error 0x8
    ... \par wucltui.dll should register however. ... \par side event viewer shows the communication happening again for windows update, ... \par which wasn't working since 5/27 until i tried the script, ... \par the registration of dlls, this is strange, i tried the first 3 and they do ...
    (microsoft.public.windowsupdate)
  • Re: Restore of SBS System State
    ... It does not matter for the error when you register some dlls. ... Unable to view event log and some tabs of user's properties on SBS, ... regsvr32 oleaccrc.dll ...
    (microsoft.public.windows.server.sbs)
  • Re: Calling .NET COM object from MFC application
    ... MFC exe calls C# managed DLL which in turn calls other ATL/MFC COM DLLs, ... All the COM and .Net DLLs must be registered on the "clean" machine or they ... assembly (which is properly configured to "Register for COM interop"), ... trying to initialize this "third party" COM. ...
    (microsoft.public.vc.mfc)
  • Re: SQLDMO with VB6
    ... client side functionality without the need to install the SQL Server Client Utilities. ... MDAC does not install the Sqldmo.dll file or any of the many dependent DLLs associated with the ... You need to register COM based DLLs through the Regsvr32 utility. ...
    (microsoft.public.sqlserver.tools)