Why do you repost the same question? You have already got an answer
here[
^].
However,
VC++ 6.0 and
MFC 6.0 are obsolete; my suggestion is: if you want to continue working with
C++ move to
VC 2010, but forgot the
.NET Framework, as the
C++ support to it is given mostly for
legacy applications. If you are interested in
.NET Framework, learn
C#.