I'm trying to use C# and the DirectShowLib-2005.DLL to capture Images from a video stream.
Running on Windows 7 Ultimate 4G Mem 64 Bit OS.
Developing with Visual Studio 2010 Net 3.5 Application
This Simple app hangs on my system when you do the following.
Run / Debug the app & toggle the Viewing Window multiple times (5-20 Times in about 2-3 Minutes)
If I Don't Connect the VideoOutPin to the NullIn (DirectShowBuilder.cs.BuillNullGraph) line 198 (I.E. Remark it out) the application will build and NOT Hang when I toggle the display screen.
I've reduced my code to this minimum during my debugging, and it will also hang on me when build at Release & run outside of Visual Studio.
I'm assuming there's something wrong with how
Any Help would be appreciated.
Full source project -> Drop Box Public Link
Sorry, nothing jumps out at me.
Found a fix, now to figure out why.
Removing [STAThread] from Program.cs fixes the hanging issue.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.