Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I tried to run setup on the PC that has visual studio and can run MFC application,But cannot run it on the PC which has only Windows 2000/XP Installed.I got the error "Class Not Registered".I tried to search on Google but can't find relevant Solution. So for that how to deploy it?When I detect Dependencies I found error in msxml.dll, that why I have to exclude it.That's why this problem occuring? "_except_handler4_common could not be located msvcrt.dll" error found,when run MFC Application
Posted
Updated 13-Apr-11 23:35pm
v5

You must try and include the C++ redistributables - for example, see here[^].
You might need to download the right install based on your version.
 
Share this answer
 
Comments
aditshah_22 14-Apr-11 4:10am    
I tried but still don't work."Entry point not Found" error
aditshah_22 14-Apr-11 5:36am    
"_except_handler4_common could not be located msvcrt.dll" error found,when run MFC Application
All of us have been there someday... ^^

It can be for a lot of reasons, what Abhinav S has answered you is correct.

You should check if you are using a special ActiveX which is not registered and then register it: http://www.google.com/url?sa=t&source=web&cd=1&ved=0CBMQFjAA&url=http%3A%2F%2Fsupport.microsoft.com%2Fkb%2F146219&ei=wb-mTZyRI826hAeZq6zfCQ&usg=AFQjCNEQCMFV9VYa-uZXpiKk4IOl7N4OjA[^].

You should download and install also the redistributables from your VC version (see Abhinav S post).

If you have selected not to statically link the MFC libraries you should add them also (search for that "mfc libraries needed deploy" in google and you'll get more info on that...).

Put the dll's your project use in a accessible folder (the first attempt is the same folder of the app).

...

Google for "deploy VC (put the version here) MFC application" and you'll get further help on that topic...

HTH...
 
Share this answer
 
v2
Comments
aditshah_22 15-Apr-11 5:24am    
Still can't get it!!
got error "Class Not Registered".

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900