Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Macro confusion

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
Stefan Maton Posted - Nov 02 2006 : 5:11:52 PM
Hi,

this is something that I encounter since quite some time:

Consider I have these macros:

#define ARMETHODCALLTYPE __stdcall
#define ARMETHODIMP(type) type ARMETHODCALLTYPE

and these class member functions:

ARMETHODIMP(ubool) OnInputEvent(const AR::SInputEvent *_pEvent);
ARMETHODIMP(ubool) DoLogic();


I get seperate entries for the macro part and the function declaration part in my context field (I get a "ARMETHODIMP(ubool)" entry and a "DoLogic()" entry).

Is there any way to remove this (without removing my macros)?

Best regards,
Stefan

6   L A T E S T    R E P L I E S    (Newest First)
Stefan Maton Posted - Jan 25 2011 : 02:07:07 AM
Wow... it only took... eeeh... almost 5 years... Thanks for fixing it though...
support Posted - Jan 24 2011 : 4:08:49 PM
case=3566 is fixed in build 1840
feline Posted - Nov 10 2006 : 1:16:37 PM
It turns out that VA understands what to do with this:

void getChocolateSize() throw()
{
}


which suggests it should be able to understand what to do here.

case=3566
feline Posted - Nov 06 2006 : 2:15:53 PM
I understand now. Unfortunately removing the macro's is probably the best solution.

Due to the brackets VA thinks the prototype is actually an implementation, so it is showing you the implementation and its "parameters".
Stefan Maton Posted - Nov 06 2006 : 1:58:26 PM
Hi,

sorry that I only reply now. Here's what I get when I open the context combo box:



When I simply put my cursor on a function, the display is as yours.

Best regards,
Stefan
feline Posted - Nov 03 2006 : 08:17:34 AM
I don't understand. Adding this code to a cpp file, using VS2003 and VA 1540 I am seeing:



Which is correct, given the caret position, and makes sense. Also this is slightly different to what you are listing.

* How are you producing this effect?
* What do you see for functions that do not use any macros for return types or parameters?

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