Solved

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

Posted on 1997-12-17
4
307 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
xyBalance chalenge 58 105
How to convert MFC::CString to UTF8 wchar_t* 10 464
Sed question 2 139
how to split multiple lines delimiter : 8 134
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

752 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