开发者

directshow, how to know if a filter is in use by another application

I have a source filter that cannot be used in two applications at the same time. Is there a way to know if the filter is in use by another application? I am able to add the filter to the graph, connect it, but the exception rises when I do "run graph." The appli开发者_JS百科cation exits with a generic "Unknown error". I use DirectShowLibNET. I want to show a specific error like "Filter in use".


If it is your filter, you can create a named memory mapped file, shared by the processes, and make it visible if there is any instance running in another application. Otherwise, there is no way to find out.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜