Ben wrote:
Hi,
I have a project that uses the c runtime libraries a bit of opengl and
nothing else. If I build the .exe for release using Visual Studio 6 I
can copy the .exe onto Win98,NT and 2K/XP and run it with no probs.
If I build the same .exe using Visual Studio.NET and drop the .exe
onto the above windows platforms I get prompted with errors
complaining that the .exe can't find MSVCP70...dll.
Am I doing something wrong or do I now have to use the deployment
wizard to package up dependencies that didn't exist before?
No, you're not doing anything wrong - it just happens that the VC6 runtime
DLLs are already present on the machines you've targeted, while the VS7 DLLs
are not.
You need to deploy those VC7 runtime DLLs that your app depends on. Using a
deployment project is probably the easiest way to get them installed
properly, but you're free to use any install tool of your choice. There are
merge modules (Windows Installer) for all of the VC7 runtime libraries that
are installed along with Visual Studio. They get installed into
%bootdrive%\Program Files\Common Files\Merge Modules by default.
-cd