HELP! VC 8.0 deployment problem.

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
 
J

Jochen Kalmbach [MVP]

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/
 
C

Carl Daniel [VC++ MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top