HELP! VC 8.0 deployment problem.

  • Thread starter Thread starter larry
  • Start date Start date
L

larry

I changed my developing tools from Visual Studio 2003 to 2005. I
compiled my application (Unmanaged code) and deployed it. I didn't biuld
a setup program. I just copied exe file, mfc80.dll and msvcr80.dll to
target computer. But I got an error message: Application can not start
because application configuration is incorrect. Reinstall may fix the
problem.

I installed .Net Framework 2.0 on target computer, same thing happened.
What's wrong with my deployment, it works well when I use Visual Studio
2003. Please Help me. Thank you ahead.



Larry
 
Hi larry!
I changed my developing tools from Visual Studio 2003 to 2005. I
compiled my application (Unmanaged code) and deployed it. I didn't biuld
a setup program. I just copied exe file, mfc80.dll and msvcr80.dll to
target computer. But I got an error message: Application can not start
because application configuration is incorrect. Reinstall may fix the
problem.

This is normal on XP and later...
You just forgot some small file... the manifest-file for the CRT/MFC DLLs!
You will find it under the "redistributable" directory of your VS...
Or take a look at the following article:
http://www.codeproject.com/cpp/vcredists_x86.asp
I installed .Net Framework 2.0 on target computer,

You do *not* need the .NET-Framework!

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
 
Jochen Kalmbach said:
Hi larry!

This is normal on XP and later...
You just forgot some small file... the manifest-file for the CRT/MFC DLLs!
You will find it under the "redistributable" directory of your VS...
Or take a look at the following article:
http://www.codeproject.com/cpp/vcredists_x86.asp


You do *not* need the .NET-Framework!

....although interestingly (and confusingly for some, I'm sure), installing
..NET 2.0 will get msvcr80.dll installed into WinSxS, so programs that just
use the CRT (and not MFC) may appear to require the .NET framework, when
it's really the CRT that they're lacking.

-cd
 
Back
Top