Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1715 adds extra ')' in _T macro

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
RFOG Posted - Mar 16 2009 : 07:15:28 AM
I don't know if this has been reported yet, but when you use _T macro it always adds extra closing parenthesis.

Type _T( and you get _T(), type " and you get _T(""). Type any string and you get _T("string"), type closing " and all is ok, but when typing closing parenthesis, you get _T("string")).

It seems VA forgets that it has to overwrite the closing one.
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Apr 03 2009 : 5:23:23 PM
I am seeing the same thing with your test project, thank you for this. Has this recently changed for you, or have you always seen this effect? To a degree this is by design. From the page:

http://www.wholetomato.com/products/features/insert.asp

quote:
If you move or type another opening character, the fact a closing character was inserted is forgotten. Delete one if you type another yourself.
RFOG Posted - Apr 01 2009 : 12:40:09 PM
First of all I'm sorry for the delay, but I forgot this question.

It happens in mid of other more complex lines. I've made a sample project. You can download from here: http://rfog.cmact.com/ProyectosDEMO/test_t.zip

It is ony an empty console app with a sample line. It seems it is failing in TEXT and some other macros too.

However, here is my System Info:
VA_X.dll file version 10.5.1715.0 built 2009.01.25
Licensed to:
VA X: <text deleted>
DevEnv.exe version 9.0.30729.1
msenv.dll version 9.0.30729.1
Font: Consolas 13(Pixels)
Comctl32.dll version 6.10.6002.17043
Windows Vista 6.0 Build 6002 Service Pack 2, v.659
4 processors

Platform: Win32
Stable Includes:
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include;
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.1\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.1\\include;

Other Includes:

Stable Source Directories:
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfc;
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\atl;
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\crt\\src;
feline Posted - Mar 16 2009 : 11:14:54 AM
Can you please go to:

VA Options -> System Info -> Copy Info

and paste the details (from the clipboard) into your reply. This will give us the basic information about your setup.

I cannot reproduce this problem, tying this line of code. I only end up with one closing bracket. I am wondering what the difference is between our systems.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000