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
 FindSymbol_cann't find the macro-symbol in cpp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jzq740176597
Tomato Guru

China
346 Posts

Posted - Nov 08 2012 :  8:52:09 PM  Show Profile  Reply with Quote
The macro-symbol in cpp of current opened sulution.



Use [FindSymbol],
Even I copy the whole macro here.Cann't get anything!
The code is right,can successfully compile it.
VA 1918 vs2008 sp1


Creation come from persist!

feline
Whole Tomato Software

United Kingdom
19179 Posts

Posted - Nov 09 2012 :  10:33:00 AM  Show Profile  Reply with Quote
If you show VA Outline is this macro shown in the outline for this file?
Is this macro inside a function, class, namespace or anything else?

Is this file part of your solution? If you close the file, is it listed in VA's Open File in Solution dialog?

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

jzq740176597
Tomato Guru

China
346 Posts

Posted - Nov 11 2012 :  12:08:14 AM  Show Profile  Reply with Quote
quote:
If you show VA Outline is this macro shown in the outline for this file?

Yes. As following:



quote:
Is this macro inside a function, class, namespace or anything else?

Absolutely not. Is at the file scope.

quote:
Is this file part of your solution? If you close the file, is it listed in VA's Open File in Solution dialog?

Of course. The cpp is a file belongs to current prj.And Open File in Solution dialog can locate it.
Look:

BTW,I really think the Reply field can has a Attach func.The cpp file or sth can be upload and attach to the thread in-place.

Creation come from persist!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19179 Posts

Posted - Nov 12 2012 :  10:36:37 AM  Show Profile  Reply with Quote
Can you please send me the code file via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up. Hopefully I will be able to reproduce the problem here with this file.

The forum lets you attach pictures, but not other file types. It is a simple forum, but it does what we need it to do

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

jzq740176597
Tomato Guru

China
346 Posts

Posted - Nov 12 2012 :  6:42:59 PM  Show Profile  Reply with Quote
The Cpp file have been sent.

Creation come from persist!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19179 Posts

Posted - Nov 12 2012 :  10:22:12 PM  Show Profile  Reply with Quote
I have the cpp file, thank you for this. It turns out macro's declared in the cpp file do not normally show up in the Find Symbol dialog. The only reason this was working in my tests was due to some odd code I had been testing. I have put in a feature request to show macros declared in cpp files:

case=70522

As a temporary work around you could try adding the following code to your cpp file:


#ifdef VA_WORKAROUND_CODE
namespace VA_WORKAROUND_CODE PushLayerBegin() {};
namespace VA_WORKAROUND_CODE PushLayerEnd() {};
#endif

This is a hack, but it does cause the macros to show up in the Find Symbol dialog, and the Find Symbol dialog will bring you to these macros.

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

jzq740176597
Tomato Guru

China
346 Posts

Posted - Nov 13 2012 :  01:21:28 AM  Show Profile  Reply with Quote
Thanks.Hope VA will Fix it soon,Good luck!

Creation come from persist!
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