Exception thrown when disposing DsROTEntry
DirectShow programming library for .Net programmers
Brought to you by:
snarfle
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.