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
 "Create Implementation" doesn't work for STDMETHOD
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

peterchen
Tomato Guru

126 Posts

Posted - Aug 30 2009 :  06:50:21 AM  Show Profile  Reply with Quote
(VC9, VC6, 1731, seems to affect older versions as well)

A minor issue: With the following declaration in a header:

class Foo
{
   STDMETHOD(get_BrowserControl)(LPDISPATCH * page);
   STDMETHOD(put_BrowserControl)(LPDISPATCH page);
}


The refactoring option "Create IMplementation" is not available.

However, with

class Foo
{
   STDMETHOD(get_BrowserControl)(LPDISPATCH * page) { return E_NOTIMPL; }
   STDMETHOD(put_BrowserControl)(LPDISPATCH page) { return E_NOTIMPL; }
}


"Move Implementation to source file" is available, and resolved correctly to STDMETHODIMP, so I assume you actually want to support that.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 31 2009 :  1:21:07 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=12800
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jul 20 2011 :  01:52:12 AM  Show Profile  Reply with Quote
case=12800 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