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
 1638:Refactor signature of ATL-COM class fails
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

xMRi
Tomato Guru

Germany
315 Posts

Posted - May 21 2008 :  05:25:20 AM  Show Profile  Reply with Quote
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)



Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming

Edited by - xMRi on May 21 2008 05:32:37 AM

feline
Whole Tomato Software

United Kingdom
18958 Posts

Posted - May 21 2008 :  11:37:16 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=12386

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

support
Whole Tomato Software

5566 Posts

Posted - Jul 20 2011 :  01:52:59 AM  Show Profile  Reply with Quote
case=12386 is fixed in build 1854

Whole Tomato Software, Inc.
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