Problem with Using VC 5.0 to rebuild app built in VC 4.0

Hi, All,

I have an application built with VC 4.0/FMC and every thing was wonderful.
Now I need to modify the application with VC 5.0 . But when I rebuilt it, I have gotten an error message:

"fatal error C1083: Cannot open include file: 'richedit.h'. No such file or directory."

I was shown a file: C:\...\mfc\include\Afxdlgs.h.

I really want to do some modifications on the previous apps. I am wondering what's wrong with VC 5.0 and how to solve the problem.

Could anybody kindly give me an idea?

Jay
--
jli@netcom.ca

Who is Participating?

Commented:
The file richedit.h should be found in C:\Program Files\DevStudio\Vc\Include

If it's not there, you probably need to re-install your copy of VC++.  If it is there, be sure that you have this path in your include path.
0

Author Commented:
Hi, Dear jhance,

Thanks for your suggestion. I did check the directories and paths.
There is not the file richedit.h in the C:\Program Files\DecStudio\Vc\.
Is it Ok if I copy the file from another machine? Or I must reinstall
the VC 5.0?

Regards,

Jay
0

Author Commented:
Hi, Dear jhance,

Thanks for your suggestion. I did check the directories and paths.
There is not the file richedit.h in the C:\Program Files\DecStudio\Vc\.
Is it Ok if I copy the file from another machine? Or I must reinstall
the VC 5.0?

Regards,

Jay
0

Commented:
I'm sure that you can copy it from another machine.  I wonder why it is not there already and whether some other files may be missing.  As you know, the include files are often dependent on each other.  So while you are missing one at this time, there may be others that have yet to be included.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.