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
 STDMETHODIMP_(ULONG) move impl to source fails
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mordachai
Tomato Guru

USA
224 Posts

Posted - Jun 15 2010 :  10:30:08 AM  Show Profile  Reply with Quote
If I have a method:

class Foo : public IUnknown
{
STDMETHODIMP_(ULONG) AddRef() { /* body */ }
}

and I right click on AddRef, and choose "Move Implementation to Source File" then I get this in the source file:

Foo::AddRef() { /* body */ }

No return type - the entire method type definition has disappeared.
I should have gotten:

STDMETHODIMP_(ULONG) Foo::AddRef() { /* body */ }

Edited by - Mordachai on Jun 15 2010 10:31:49 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 15 2010 :  2:11:01 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description:

case=45936
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jul 20 2011 :  01:51:54 AM  Show Profile  Reply with Quote
case=45936 is fixed in build 1854

Whole Tomato Software, Inc.
Go to Top of Page

Mordachai
Tomato Guru

USA
224 Posts

Posted - Jul 20 2011 :  09:09:16 AM  Show Profile  Reply with Quote
Thanks :)
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