It's helpful to call the Dispose () method on large objects (like bitmaps) that your program no longer needs. This allows .NET to use memory more efficiently. Also see the standard dispose pattern. Here's a good discussion of it: http://www.codeproject.com/KB/dotnet/idisposable.aspx[^]
This forum is for general C# questions. If you want help with obscure 3rd party products, I suggest you contact their technical support.
Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush
No. coz last time when another function returned this same negative value (-214...), the problem was not in that function itself. And BTW i wrote "ICaptureGraphBuilder2 capGraph;", its not actually like that(coz the code was bit lengthy so included that method only). i just wanted to tell that capGraph is actully its object.Anyways thx for the reply. Anyone else who worked using DShowNET by .NET master?
B!z