Re: regsvr32 error code 0x80004002



DLLs referenced by mine are:

c:\windows\system32\KERNEL32.DLL
c:\windows\system32\USER32.DLL
c:\windows\system32\OLE32.DLL
c:\windows\system32\OLEAUT32.DLL
c:\windows\winsxs\x86_microsoft.vc80.atl_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_cbb27474\ATL80.DLL
c:\windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2\MSVCR80.DLL

The contents of file
censored name.dll.intermediate.manifest
in the Release directory are as follows:

<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC80.CRT'
version='8.0.50727.762' processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC80.ATL'
version='8.0.50727.762' processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>
</dependency>
</assembly>

The following files are all version 8.00.50727.762:

C:\WINDOWS\WinSxS\x86_Microsoft.VC80.ATL_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_cbb27474\ATL80.dll
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\msvcr80.dll
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\msvcm80.dll
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\msvcp80.dll

Now I see there also exist newer CRT files, version 8.00.50727.1433:

C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2\msvcr80.dll
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2\msvcm80.dll
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2\msvcp80.dll

but there is not a newer ATL file to match.

Open VS2005, click File->Open->File, select your ATL DLL, click OK, expand
RT_MANIFEST folder, click the icon 1

There is an icon 2 but no icon 1. Here is the text from expanding icon 2:

<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC80.CRT"
version="8.0.50727.762" processorArchitecture="x86"
publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC80.ATL"
version="8.0.50727.762" processorArchitecture="x86"
publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
</dependentAssembly>
</dependency>
</assembly>


"Charles Wang[MSFT]" <changliw@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:iTetp2rfIHA.360@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi Norman,
Did your ATL DLL reference other DLLs? You can use Dependency Walker
(depends.exe) to check if there are any dependency component missed.

Also I recommend that you check your ATL DLL manifest content to see what
the assembly version is. Compare it with the assemblies in your
%Windir%\WinSxS folder to see if the assembly version match the latest
version of the related assembly in your WinSxS folder. Please also post
your ATL DLL manifest content here for further research. If your ATL DLL
was compiled with embedded manifest, you can check your ATL DLL manifest
via:
Open VS2005, click File->Open->File, select your ATL DLL, click OK, expand
RT_MANIFEST folder, click the icon 1 and then copy the ASCII characters
out
to notepad.

Look forward to your response.

Best regards,
Charles Wang
Microsoft Online Community Support
=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
======================================================









.



Relevant Pages

  • Re: C# class forward declaration, possible?
    ... *real* dependency because one of the dependency is for creating a COM objetc. ... We had this same problem in C++ before: we have a utils dll that all other ... I have the interface in an assembly so it acts as an equivalent to ... >> I'm generating a TLB from one of my assemblies that contains an interface ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Release build exe has MFC71D.dll, MSVCR71D.dll and MSVCP71d.dll
    ... I am 100%sure that my dll is not having any dependency on the ... My preprocessor settings have a macro called _DEBUG which is going to ... same directory where my exe is placed. ...
    (microsoft.public.vc.mfc)
  • Re: Passing Variant SafeArrays from C# into C++ DLL
    ... that by marking the mscoree dependency as delayload. ... then combining managed code with purely native object ... .NET library dynamically in a non dotnet C++ dll? ... understand what you mean by "do any .NET library initialization". ...
    (microsoft.public.dotnet.framework.interop)
  • Re: How to troubleshoot Error 48
    ... > The EXE and DLL are both on the Test server no other machine is involved, ... the reach of VB's ability to resolve the error, there's a dependency that's ... was loaded by your app. ... Freeware Process Viewer ...
    (microsoft.public.vb.com)
  • Re: Problems calling Fortran DLL from VBA
    ... I do have mixed language documentation, ... I can succesfully call this DLL from another Fortran procedure.. ... mixed language documentation for your compiler to make sure that any ... when the actual problem is a DEPENDENCY dll. ...
    (comp.lang.fortran)