Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
About CC: typedef problem
(1/1)
Loaden:
--- Code: ---#ifndef _ATL_CSTRING_NO_CRT
typedef CStringT< wchar_t, StrTraitATL< wchar_t, ChTraitsCRT< wchar_t > > > CAtlStringW;
typedef CStringT< char, StrTraitATL< char, ChTraitsCRT< char > > > CAtlStringA;
typedef CStringT< TCHAR, StrTraitATL< TCHAR, ChTraitsCRT< TCHAR > > > CAtlString;
#else // _ATL_CSTRING_NO_CRT
typedef CStringT< wchar_t, StrTraitATL< wchar_t > > CAtlStringW;
typedef CStringT< char, StrTraitATL< char > > CAtlStringA;
typedef CStringT< TCHAR, StrTraitATL< TCHAR > > CAtlString;
#endif // _ATL_CSTRING_NO_CRT
#ifndef _AFX
typedef CAtlStringW CStringW;
typedef CAtlStringA CStringA;
typedef CAtlString CString;
#endif
--- End code ---
typedef CAtlString CString;
Not work!
but CAtlString is ok!
ollydbg:
What do you mean by "not work"? :D
Please give a more specific details.
Loaden:
--- Quote from: ollydbg on June 03, 2009, 08:05:30 am ---What do you mean by "not work"? :D
Please give a more specific details.
--- End quote ---
CC can't show the parser word. nothing!
ollydbg:
The complex "template" typedef before
--- Code: ---typedef CAtlStringW CStringW;
typedef CAtlStringA CStringA;
typedef CAtlString CString;
--- End code ---
may cause the problem.
The parser may failed parsing these template declaration.
Navigation
[0] Message Index
Go to full version