[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.setup

Error while registering an ATL COM dll built in VS 2005 environmen

yelurim

5/26/2008 12:05:00 PM

An ATL COM Dll "Utility.dll" developed in Visual studio 2005, it can be
registered on same machine successfully. But this dll registration is giving
an error on other machine where Visual Studio 2003 installed. What could be
the problem. Is there any KB available to update "regsvr32.exe" to comply
with VS 2005 generated dlls.

The registration error is "LoadLibrary("c:\Utility.dll") failed - This
application has failed to start because the application configuration is
incorrect. Reinstalling the application may fix this problem."

Thanks in advance.
1 Answer

Phil Wilson

5/27/2008 8:34:00 PM

0

Each version of Visual Studio has separate requirements for C++ runtime
support (including ATL, MFC, CRT). VS 2003 (7.1) C++ uses the 7.1 versions,
atl71.dll, msvcr71.dll etc. VS 2005 requires the 9.0 versions, atl90.dll,
mfc90.dll etc.

So you'd need to get this installed if your C++ app is VS 2005 SP1:
http://www.microsoft.com/downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&disp...

Or use static binding to embed the support in your binary.

--
Phil Wilson
Definitive Guide to Windows Installer
http://www.apress.com/book/view/...


"yelurim" <yelurim@discussions.microsoft.com> wrote in message
news:091D676C-6806-4A08-A4D8-35B08F1ED1E0@microsoft.com...
> An ATL COM Dll "Utility.dll" developed in Visual studio 2005, it can be
> registered on same machine successfully. But this dll registration is
> giving
> an error on other machine where Visual Studio 2003 installed. What could
> be
> the problem. Is there any KB available to update "regsvr32.exe" to comply
> with VS 2005 generated dlls.
>
> The registration error is "LoadLibrary("c:\Utility.dll") failed - This
> application has failed to start because the application configuration is
> incorrect. Reinstalling the application may fix this problem."
>
> Thanks in advance.