Solved

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

Posted on 1997-12-17
4
269 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Turn a spreadsheet into a vba executable. 2 66
Error on moodle after upgrade 3 105
EvenOdd challenge 10 81
Line meaning 9 75
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

771 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now