MFC - Which version?

Dear all,

I have an open code of MFC made in 2002. Could someone please tell me approximately which is the version of this script?

I imagine it is Microsoft C or Microsoft C++, but which version if was compiled in 2002?


Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Shaun VermaakTechnical Specialist/DeveloperCommented:
Can you not see the MFC version if the file properties?
Kevin StanushApplication DeveloperCommented:
Knowing the date the program was compiled won't really let you know the exact MFC version, but it might get you close:

MFC apps are normally compiled with dynamic linking to the MFC library, mfcxx.dll, where 'xx' is the version.  This library is a dependency of the .exe, so you can use some Microsoft developer tools to find the dependency, or just use Notepad.exe on the .exe, and find the .dll dependencies, listed at the bottom of the .exe.  Set Notepad to not wrap the 'text' and don't alter the file.  If you can run the .exe, the .dll will also be visible as having been loaded by the application.  Your computer will most likely have multiple versions of the mfcxx.dll files on it, so its hard to know which one is used by the application, but its in the loader in the .exe.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BOB KUSPEAuthor Commented:
Thank you

 I am using the Visual C++  6.0 which used the MFC42.dll. Are 2 workspaces. One of them I recompiled with success, but another not.

The website were I found:

MFC42.dll means mfc 4.2.

you may use the depends.exe (which came with vc 6.0) to find out other dll's timestamp and version.

note, the mfc version rarely is responsible for compile or build errors. i would assume that your windows os is no longer providing some of the needed dll's or active-x controls.

if you post the build errors we probably can give better advice.


The question was answered.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.