Cant include CString?

Started by
11 comments, last by Zahlman 14 years, 6 months ago
OK, so now you have a working setup and a non-working setup. So next problem solving technique: try to get the non-working setup to look more like the working setup. In this case try making atlstr.h the first header you include and see what happens.
Advertisement
fatal error C1189: #error : ("Must include tier0 type headers before tchar.h")

when its the first included
Well, that pretty much tells you what's going on. When tchar.h is the first in the include list, the tier 0 headers are therefore after it, which isn't what needs to happen (they need to be before tchar.h).

A google search suggests that this error is generated by wchartypes.h. I'm guessing you get that included indirectly from atlstr.h.

This topic is closed to new replies.

Advertisement