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
 template class using macro
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Dusan
Whole Tomato Software

Slovakia
177 Posts

Posted - May 03 2013 :  07:14:10 AM  Show Profile  Reply with Quote
VAX (I use 10.7.1918.0) does not recognize template class defined as macro?

#include <vector>

#define test_vector std::vector

int _tmain(int argc, _TCHAR* argv[])
{
  test_vector<int> test;
  test. // no suggestion

}

feline
Whole Tomato Software

United Kingdom
19177 Posts

Posted - May 03 2013 :  12:13:18 PM  Show Profile  Reply with Quote
Which IDE are you using? This is working correctly for me using VS2010, with:

VA Options -> Advanced -> Listboxes -> Get content from default Intellisense

turned On.

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

Dusan
Whole Tomato Software

Slovakia
177 Posts

Posted - May 05 2013 :  09:00:08 AM  Show Profile  Reply with Quote
I use VS2005, and you are right, it works with default intellisense turned on, but does not work with VAX only. That is why I wrote that VAX does not recognize it.

I have default intellisense turned off, because it sometimes makes wrong suggestions (and makes too much of unusable suggestions as well).

Should it work without default intellisense turned on?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19177 Posts

Posted - May 06 2013 :  11:14:30 AM  Show Profile  Reply with Quote
Can you please try turning on deep macro parsing, as explained in this FAQ entry:

http://docs.wholetomato.com?W363

this is fixing the problem for me, and I am now getting a listbox with VS2005 and VA 1918, with "Get content from default Intellisense" turned Off.

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

Dusan
Whole Tomato Software

Slovakia
177 Posts

Posted - May 07 2013 :  3:43:51 PM  Show Profile  Reply with Quote
Thanks, now it works :)

Are you planning to add some "property grid" based dialog to modify theese registry settings?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19177 Posts

Posted - May 07 2013 :  4:45:45 PM  Show Profile  Reply with Quote
I am glad this has helped, thank you for the update

We move some of the more frequently used registry settings into our options dialog, to make them easily available. We are trying to keep the number of visible options down, to stop the options dialog getting to crowded and complex. Its a balancing act to be honest.

This settings is a bit of a special case, it is often helpful, but can cause more problems than it fixes, so we are reluctant to place it into the options dialog, since we don't want to encourage the problems.

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