T O P I C R E V I E W |
simonsinxer |
Posted - Jul 21 2008 : 03:30:15 AM TCHAR a; //Visual Assist X Suggest "TCHAR" to "char"
ASSERT(sizeof(TCHAR) == 2) //in fact, sizeof(TCHAR) equal to 2
How can i Solve this Problem? Or this is a BUG? |
3 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Jul 22 2008 : 1:32:48 PM When you put the mouse over TCHAR what are you looking at? A tooltip caused by hovering the mouse? Are you looking at the VA context and definition fields? Something else?
I do not understand what you are doing, or what you are seeing. |
simonsinxer |
Posted - Jul 22 2008 : 10:35:55 AM I am using VC 2005 with VA 10.4.1640.
When I Created an APP based UNICODE, all the functions, marco are Suggest to ANSI Edition by VA.
For example, when I put my mouse on "TCHAR", VA doesn't show it to be type "wchar_t" but "char" when I put my mouse on "MessageBox", VA doesn't show it to be function "MessageBoxW" but "MessageBoxA"
|
feline |
Posted - Jul 21 2008 : 2:40:03 PM Which IDE and version of VA are you using? Are you simply seeing a listbox when you type "TCHAR" or is "TCHAR" actually being turned into "char" when you type it? |