Re: regsvr32 error code 0x80004002

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Norman Diamond" <ndiamond@xxxxxxxxxxxxxxxx> wrote in message news:e4$D4fIOIHA.4912@xxxxxxxxxxxxxxxxxxxxxxx
"billyard" <dmetcalf@xxxxxxxxxxxxxxx> wrote in message news:4758b7e9$0$8688$4c368faf@xxxxxxxxxxxxxxxxx
Norman Diamond wrote:
Today regsvr32 gives error code 0x80004002, Interface Not Supported.

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

Thank you for the suggestion, which I will try again in a few hours.

OK, this time the commands executed without visible errors. Now regsvr32 gives a different error message, without any error code.

LoadLibrary("my library.dll") に失敗しました - このアプリケーションの構成が正しくないため、アプリケーションを開始できませんでした。アプリケーションを再度インストールすることにより問題が解決する場合があります。
Approximately: LoadLibrary("my library.dll") failed - this application's configuration is incorrect, so the application could not be started. Sometimes problems can be solved by reinstalling applications.

Yeah right. Here's my DLL and my TLB, and regsvr32 is supposed to do what other than install the DLL.

.



Relevant Pages

  • Re: Service pack 3 problem
    ... Opening the regsvr32 file is as you say, no dll specified, followed by the ... and no dllcache folder exists, ... After show hidden files, folders, and system files, use WINDOWS Explorer ...
    (microsoft.public.windowsxp.general)
  • Re: regsvr32 error code 0x80004002
    ... I also have seen this error when there is a missing dll that your dll depends on. ... this invocation of regsvr32 succeeds. ... On another PC which also has VS2005 SP1 installed, an installer which was created by a VS2005 SP1 setup project did indeed insist on installing an extra copy of the redistributables. ... Sorry Norman, the context that this was happening on your development machine was lost, so I had forgotten that VS was installed. ...
    (microsoft.public.vc.mfc)
  • Re: regsvr32 error code 0x80004002
    ... I'm afraid some of code (regsrv, or any DLL) ... To see where it is generated you can debug you ATL dll by using regsvr32 ... Enter the complete path to regsvr32 into the Command field. ... I don't need to start executing the C# client ...
    (microsoft.public.vc.mfc)
  • regsvr32 cant load Addin DLL
    ... regsvr32 is not loading the DLL correctly. ... VS 2003 is reporting ... I do regsvr32 manually, it does not report any error, but it's ... I have an installation package (packaged ...
    (microsoft.public.office.developer.com.add_ins)
  • Re: regsvr32 error code 0x80004002
    ... The call to PrxDllRegisterServer fails ... so regsvr32 displays error code 0x80004002. ... You could find out what module (.dll) that PrxDllRegisterServerresides ... Windows XP uses Unicode and ANSI code page 932. ...
    (microsoft.public.vc.mfc)