Menu

#30 Exception thrown when disposing DsROTEntry

open
nobody
3
2012-10-29
2011-09-19
borex
No

public DsROTEntry(IFilterGraph graph) { ... m_cookie = rot.Register((int)ROTFlags.RegistrationKeepsAlive, graph, mk); ...
In .NET Framework 3.5 & 4 returning value is HRESULT, not ROT id.
public void Dispose() { ... rot.Revoke(m_cookie); ...
Function Dispose() trying to Revoke(HRESULT).
.NET Framework 3.5 & 4 has no function in IRunningObjectTable returning ROT id.

Discussion


Log in to post a comment.