比如说我有一个
类
class cmyclass
public IOleInPlaceFrame,
............
{
long GetWindow(HWD** myhwd)
{ return 0;
}
..............
}
编译时 提示我IOleInPlaceFrame::GetWindow(....)
是纯虚函数 我该如何重载它呢?
类
class cmyclass
public IOleInPlaceFrame,
............
{
long GetWindow(HWD** myhwd)
{ return 0;
}
..............
}
编译时 提示我IOleInPlaceFrame::GetWindow(....)
是纯虚函数 我该如何重载它呢?
就没问题了。
{
......
return S_OK;
}
{
STDMETHODIMP GetWindow(HWND* myhwd)
{
...
return S_OK;
}
}