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
 Technical Support
 1715 adds extra ')' in _T macro
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

RFOG
Senior Member

Spain
31 Posts

Posted - Mar 16 2009 :  07:15:28 AM  Show Profile  Reply with Quote
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.

feline
Whole Tomato Software

United Kingdom
18951 Posts

Posted - Mar 16 2009 :  11:14:54 AM  Show Profile  Reply with Quote
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.

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

RFOG
Senior Member

Spain
31 Posts

Posted - Apr 01 2009 :  12:40:09 PM  Show Profile  Reply with Quote
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;
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18951 Posts

Posted - Apr 03 2009 :  5:23:23 PM  Show Profile  Reply with Quote
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.

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