>I have an MDI that I need to change to an RTF MDI.
>
[quoted text clipped - 20 lines]
> Sorry for the elementary question, but I cannot think of any other way to
> make the compiler recognize that class.
I have tried moving the #include <afxrich.h> line above and below #include
"stdafx.h", and also inside stdafx.h, both above and below the #include
<windows.h>. By the Visual C++ IDE instructions, it told me to put all
"library" type includes in the stdafx.h file. I did, placing "#include
<afxrich.h>" below "#include <windows.h>", and get the error:
"fatal error C1189: #error : WINDOWS.H already included. MFC apps must not
#include <windows.h>"
This does not make sense to me because the only place that I can find
"#include windows" is in the stdafx.h file, and when I comment that line out,
then I get errors about other terms in the code not being defined (it.
_beginthreadex, _endthreadex).
Thanks again for your interest and help,
MarkC
> You didn't put the include above the include of the precompiled header file
> (typically #include "stdafx.h")? If so you need to move it below that.
[quoted text clipped - 26 lines]
> > Sorry for the elementary question, but I cannot think of any other way to
> > make the compiler recognize that class.