Hi
I have an old Console App program that compiles without problem in VS 6. I can get it to compile with VS 2005 express beta 2, it is about 20 modules compiled as unmaged C, Win32 console App..
The program runs ok on the Dev. PC but when the exe is run on another PC I get a configuration error. To cure that I have to install the version 2 latest framework.
My question is why does it need the 23 meg framework just for a small Console program Any compile properties I can change to make it run standalone
The one thing I was wondering about was that the linker needed UUID.LIB linking in to make it work, could that be the reason it needs the framework
I havent managed to figure out why it needs the uuid.lib yet, that is another puzzler.
Thanks for any ideas or suggestions
Regards Geoff

Framework and related question
jirikraus
You need msvcr80.dll and manifest Microsoft.VC80.CRT.manifest in the same folder as the exe. Take a look on steps I have described in the post mentioned by Eugene before and also take a look on this post on my blog http://blogs.msdn.com/nikolad/archive/2005/03/18/398720.aspx. Also is this native or managed console application If it is built with /clr, then it also depends on msvcm80.dll. You need to copy it next to msvcr80.dll.
Nikola,
VC++
Utkarsh Shigihalli
I did run depends.exe on my EXE before installing the framework to identify that it was using kernel32.dll and msvcr80.dll and tried manualy copying msvcr80.dll onto the test PC, this didnt solve the problem, assuming I had the correct latest version of course.
For the other issue.
Thanks for the tip about the \VERBOSE output I will look at that later
Geoff
JCesar
You can either create "Setup Project" in VS, or just copy necessary DLLs (and manifests) with your application. For details please take a look at http://forums.microsoft.com/msdn/ShowPost.aspx PostID=52788.
Now about UUID.LIB. The simplest way to find out who needs it would be to add /VERBOSE to the linker command line, and then search for "UUID.LIB" in the linker output.
Thanks,
Eugene