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
 1530: Move Implementation On COM Method
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

obricker
New Member

USA
7 Posts

Posted - Jul 31 2006 :  3:38:47 PM  Show Profile  Reply with Quote
I could not find this mentioned already so here it is.

Using: Move Implementation to Source file on methods such as the following:

STDMETHOD(Cancel)()
{
// Add your function implementation here.
return E_NOTIMPL;
}

does create an implementation in the source file:

STDMETHODIMP CMultiPathTracker::Cancel()
{
// Add your function implementation here.
return E_NOTIMPL;
}

but it also causes the declaration to be removed from the header.

Otis

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jul 31 2006 :  5:46:41 PM  Show Profile  Reply with Quote
i am seeing the same problem here. personally i do not know about COM, so is the generated implimentation sensible?

STDMETHOD has been replaced with STDMETHODIMP which suggests VA knows something about these #define's

using alt-g on them suggests this is sensible, but i am not certain this is right.

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

obricker
New Member

USA
7 Posts

Posted - Aug 01 2006 :  09:06:37 AM  Show Profile  Reply with Quote
The implementaion is fine. You are right that VAX must know something about the STDMETHOD/STDMETHODIMP pairings. The only problem is that it should be leaving:

STDMETHOD(Cancel)();

in the header but doesn't. All trace of the method is removed from there.

For now, I am just copying the declaration line before Calling Move Impl and adding the ;. It is still a bit easier than doing everthing by hand. But it does seem like a bug.

Otis
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Aug 01 2006 :  6:39:40 PM  Show Profile  Reply with Quote
this is definitely a bug, and a relatively nasty one. i just wanted to make sure there was only one bug, and not two

case=1923

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

support
Whole Tomato Software

5566 Posts

Posted - Aug 08 2006 :  01:18:00 AM  Show Profile  Reply with Quote
Fixed in build 1531.
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