sunbinjin
New Member

3 Posts |
Posted - Jan 04 2013 : 02:18:31 AM
|
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
|
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? |
 |
|