Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Is this a BUG?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

simonsinxer
New Member

2 Posts

Posted - Jul 21 2008 :  03:30:15 AM  Show Profile  Reply with Quote
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?

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Jul 21 2008 :  2:40:03 PM  Show Profile  Reply with Quote
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?

zen is the art of being at one with the two'ness
Go to Top of Page

simonsinxer
New Member

2 Posts

Posted - Jul 22 2008 :  10:35:55 AM  Show Profile  Reply with Quote
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"


Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Jul 22 2008 :  1:32:48 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000