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
 1925 a bug
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sunbinjin
New Member

3 Posts

Posted - Jan 04 2013 :  02:18:31 AM  Show Profile  Reply with Quote
in a class "CAudio"

have a method in "IAudio.h":
STDMETHOD_(int, GetVolume)() PURE;

have a method in "CAudio.h":
STDMETHODIMP_(int, GetVolume)();

right click,vax's menu->create inplementaion

get error result in "CAudio.cpp":
STDMETHODIMP_(int, IAudio::GetVolume( int, GetVolume, ) ()
{

}


is a error in "CAudio.h", the correct is:
STDMETHODIMP_ (int) GetVolumeVULevel ();
But it also led to an error in vax
Is this bug?

Edited by - sunbinjin on Jan 04 2013 02:28:13 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 06 2013 :  12:04:30 PM  Show Profile  Reply with Quote
Create Implementation uses the declaration as a base for creating the implementation, so if it's wrong right from the get-go, the result will also be wrong.
What do you expect to happen in this case?
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