Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1638:Refactor signature of ATL-COM class fails

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
xMRi Posted - May 21 2008 : 05:25:20 AM
I have a ATL COM class, with a STDMETHOD
class ...
{
...
	STDMETHOD(get_Item)(VARIANT vName, CSomeOldClass** pVal);
};

I want to use the refactoring feature to change the signature. From
CSomeOldClass to CSomeClass.
The result in the CPP file is wrong:
STDMETHOD( CAGComUsers::get_Item(VARIANT vName, CSomeClass** pVal)


Look at the return value!
Should be:
STDMETHODIMP CAGComUsers::get_Item(VARIANT vName, CSomeClass** pVal)


2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Jul 20 2011 : 01:52:59 AM
case=12386 is fixed in build 1854
feline Posted - May 21 2008 : 11:37:16 AM
I am seeing the same effect here. Thank you for the clear description.

case=12386

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