Link to home
Start Free TrialLog in
Avatar of JAY
JAY

asked on

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?

Thanks in advance!

Jay
--
My E-mail address:
jli@netcom.ca

ASKER CERTIFIED SOLUTION
Avatar of jhance
jhance

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JAY
JAY

ASKER

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
Avatar of JAY

ASKER

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
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.