RE: C1001
From: Jim (Jim_at_discussions.microsoft.com)
Date: 07/01/04
- Next message: TF: "Tabs in tooltip text"
- Previous message: Richard A. Lowe: "Re: Using static methods in apotentially multithreaded environment"
- In reply to: Jim: "C1001"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 1 Jul 2004 09:24:02 -0700
Hello all.
Okay, I've solved this problem. I'll put the solution here in case it helps someone else.
In VC++ 7.0, in file afxstr.h, CString is declared as a typedef. Then later, when we tell the compiler that it is a class, the compiler crashes.
For my purposes, I tested whether __AFXSTR_H__ was set before I declared CString as a class. (If you have to puke, do it into a bag.)
Regards,
Jim
"Jim" wrote:
> Hi all.
>
> I've got "Microsoft Development Environment 2003 Version 7.1.3088" -- copied directly from the About box.
>
> I get the message "fatal error C1001: INTERNAL COMPILER ERROR c:\...\Registry.h 21" when I compile my program. Line 21 in Registry.h is "class CString;".
>
> I assume that as this Development Environment goes through a few more versions, this problem will be handled more gracefully.
>
> More to the point, I assume that there is some manuever I can take to avoid this error, but what is it?
>
>
> Regards,
>
> Jim
>
- Next message: TF: "Tabs in tooltip text"
- Previous message: Richard A. Lowe: "Re: Using static methods in apotentially multithreaded environment"
- In reply to: Jim: "C1001"
- Messages sorted by: [ date ] [ thread ]