VC++ 6.0 MFC project Compatibility with win7 and all earlier versions of windows

khlauster
khlauster used Ask the Experts™
on
VC++ 6.0 MFC project Compatibility with win7 and all earlier versions of windows

I have VC++ 6.0 MFC project exe. created in win xp rpo environment
It installs and runs well on win xp pro  and win 7 pro

Will my exe. be installing and running well in other win version, which were created before win 7 pro

Your suggestions appreciated, experts
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

Commented:
most vc6 applications are compatible with all windows versions since win98. of course that isn't true if you used newer versions of 3rd-party libraries or added xp specific add-ons, for example xp schemes.

vc6 is released early 1998 and i made mfc programs which run on winnt 4.0, win98, winme and win2k before i moved to winxp. i worked in a win2k environment until end of 2007 and had both vs2003 and vc6 projects parallel. in vc6 mfc there were only a few things added that were special to xp or .net installed, for example the support of WM_MOUSESCROLL. on win9x systems there are some restrictions and unsupported functionality if you used multi-threading and windows api/windows sdk functions made for windows nt only.

Sara

Author

Commented:
I have to clarify:

My MFC project(static library) is a Dialog application with
no 'newer versions of 3rd-party libraries or added xp specific add-ons',

no multi-threading or 'windows api/windows sdk functions made for windows nt only'

It was installed and ran smoothly on win xp pro and win 7 pro,
Both machines have Visual Studio installed

Will it be running on win xp (home, premium, etc), win vista,
win 7(home,etc)  win 8 server !?
Top Expert 2016
Commented:
you need to have a proper setup which also must run on the target machines and which should install (or check) if all files from redist folder of vc6 are available. all those windows systems have standard mfc dlls and msvc runtime dlls in their system32 folder included but it could be that you used additional dlls from there.

they don't necessarily have additional ocx, dlls, odbc drivers, etc ..., for example grid control or date picker. you also may encounter problems if your programs try to write to windows registry, especially into HKEY_LOCAL_MACHINE. but that would be the same with windows 7 pro and if you don't have problems there, you shouldn't have at the other windows versions.

Sara

Author

Commented:
Thanks for your suggestion, Sara!

 I have to deal with redist for now

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial