By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,239 Members | 1,145 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,239 IT Pros & Developers. It's quick & easy.

About .NET Timer and COM object problem...

P: n/a
Hello, recently I came across a strange problem with my app. I utilities
interop to
make DirectShow into .NET. When I use it in single thread, it works fine.
But when
I use System.Threading.Timer to trigger some actions with DirectShow, there
will
occur some InvalidCastExceptions at QueryInterface(). However, I change
timer to
System.Windows.Form.Timer, this problem disappears. Anyone got this problem
before? And anyone who knows why it happens?Thanks~~
Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.