Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 1997-12-17
4
Medium Priority
?
330 Views
Last Modified: 2013-11-19
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

0
Comment
Question by:JAY
  • 2
  • 2
4 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 1312540
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 Comment

by:JAY
ID: 1312541
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 Comment

by:JAY
ID: 1312542
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
 
LVL 32

Expert Comment

by:jhance
ID: 1312543
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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question