there is a _CrtDbgReport Error when changing the Character Set

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
i get a new application without using  Unicode Character Set, and later, i chang the Character Set  from Use Multi-Byte Character Set to Use Unicode Character Set. build is ok, but when i debug the application, TRACE dont work, and a error arise:
_CrtDbgReport: String too long or IO Error.
 
my TRACE is :TRACE(_T("fdsafdsafdsa%sn"),"ly");
but the string isnt too long . How can I make TRACE work?

View the full article
 
Back
Top