c2
2008-01-02 07:45:39 UTC
Happy New Year!
I'm having an extremely basic problem. I seem to have messed up my
Visual Studio environment, I can no longer include "atlstr.h". Here's
a simple example: in Visual Studio I can create a new ATL project and
(unsurprisingly) it compiles just fine. However, adding '#include
"atlstr.h"' to any file generates 112 errors. The first error is in
cstringt.h, line 96: "syntax error: missing ';' before identifier
'm_data'". Apparently CStringData isn't getting defined, as line 96
is: "CStringData m_data;"
I have no idea what's going on. I have projects that used to build
but now they all complain of the same errors. I feel like I must have
messed up a configuration setting somewhere, but I haven't found
anything yet. Has anyone seen this before?
Thanks in advance!
Colin
I'm having an extremely basic problem. I seem to have messed up my
Visual Studio environment, I can no longer include "atlstr.h". Here's
a simple example: in Visual Studio I can create a new ATL project and
(unsurprisingly) it compiles just fine. However, adding '#include
"atlstr.h"' to any file generates 112 errors. The first error is in
cstringt.h, line 96: "syntax error: missing ';' before identifier
'm_data'". Apparently CStringData isn't getting defined, as line 96
is: "CStringData m_data;"
I have no idea what's going on. I have projects that used to build
but now they all complain of the same errors. I feel like I must have
messed up a configuration setting somewhere, but I haven't found
anything yet. Has anyone seen this before?
Thanks in advance!
Colin