This happens because
Visual Studio 6
, by default (if I remember well) links
statically with the
CRT
, while
Visual Studio 2010
by default links
dynamically
with it.
As already suggested by
Maximilien, link statically your application with the
CRT
or, better, link it dynamically (don't change the default) and redistribute together with your executable the
required DLLs[
^].