连接点建议失败。, [英] Connection point advise fails.,
本文介绍了连接点建议失败。,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hResult = m_pConnectionPoint->建议(pSinkUnk,& dwAdvise);
以上API在Windows中失败。可能是什么原因?
我尝试过:
hResult = m_pConnectionPoint->Advise(pSinkUnk, &dwAdvise);
The above API failsi in windows. what could be the reason ?
What I have tried:
The above API failsi in windows. what could be the reason ?
推荐答案
你应该查找返回的 HRESULT
值和检查文档: IConnectionPoint :: Advise方法(COM ) [ ^ ]。
You should look up the returned HRESULT
value and check the documentation: IConnectionPoint::Advise method (COM)[^].
这篇关于连接点建议失败。,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文