Home Forums Re: C2022 too big for a single character

#3192
prasanna
Participant

Hello
 
The problem with your code is that you can not have lengthy unicode string. You have to split it up in parts like..
If you have a string defined as follows, it generates C2026:

char sz[] ="imagine a really, really long string here";

You could break it up as follows:

char sz[] ="imagine a really, really long string here";

 
So you try it like ….

if ( theApp.m_bRTL ) strText = _T('x''20''2B') + strText;

May be it can resolve your problem.