Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 STDMETHODIMP_(ULONG) move impl to source 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
Mordachai Posted - Jun 15 2010 : 10:30:08 AM
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 */ }
3   L A T E S T    R E P L I E S    (Newest First)
Mordachai Posted - Jul 20 2011 : 09:09:16 AM
Thanks :)
support Posted - Jul 20 2011 : 01:51:54 AM
case=45936 is fixed in build 1854
accord Posted - Jun 15 2010 : 2:11:01 PM
I am seeing the same effect here. Thank you for the clear description:

case=45936

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