Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1530: Move Implementation On COM Method

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
obricker Posted - Jul 31 2006 : 3:38:47 PM
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
4   L A T E S T    R E P L I E S    (Newest First)
support Posted - Aug 08 2006 : 01:18:00 AM
Fixed in build 1531.
feline Posted - Aug 01 2006 : 6:39:40 PM
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
obricker Posted - Aug 01 2006 : 09:06:37 AM
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
feline Posted - Jul 31 2006 : 5:46:41 PM
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.

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