T O P I C R E V I E W |
sunbinjin |
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? |
1 L A T E S T R E P L I E S (Newest First) |
accord |
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? |
|
|