'System.Threading.ThreadStateException' occurred in "System.Windows.Forms.dll " in opencv1.1 version
来源:互联网 发布:gson string to json 编辑:程序博客网 时间:2024/05/18 20:46
当在使用opencv库时,同时想构建一个新窗体时会出现这个异常。找了好久,终于从网上找到一个解决方案。
解决方式如下:
You have to disable videoInput: go to _highgui.h, comment line 96
("#define HAVE_VIDEOINPUT 1") and recompile。
重新编译之后的DLL就可以使用了。好像videoInput是多线程的。
- 'System.Threading.ThreadStateException' occurred in "System.Windows.Forms.dll " in opencv1.1 version
- An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll
- AE10.0开发时 System.ComponentModel.LicenseException' occurred in system.windows.forms.dll
- System.Threading.ThreadStateException
- 异常处理System.Threading.ThreadStateException
- C#--An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll in c#
- Unity3D使用System.Windows.Forms.dll
- Unity-使用System.Windows.Forms.dll
- System.Windows.Forms.Timer、System.Timers.Timer和System.Threading.Timer区别
- 3个Timer(System.Threading.Timer,System.Windows.Forms.Timer,System.Timers.Timer)的区别
- System.Windows.Forms.Cursor
- System.in
- system.in
- System.in
- Unity3D使用System.Windows.Forms.dll的方法
- System.Drawing.Image.Save, A generic error occurred in GDI+.
- System.Threading
- System.Threading
- 标准SQL语句1
- 开心工作,开心生活:十二条开心工作的秘诀
- linux telnet服务
- 关于CreateProcess的疑惑
- VC实现串口通信例程
- 'System.Threading.ThreadStateException' occurred in "System.Windows.Forms.dll " in opencv1.1 version
- 在企业应用中使用Java数据挖掘API
- 丹比奴介绍多款包包出游必备
- c#.net在WEB页中设置COOKIES
- GB2312和Utf-8编码的转换[2]
- 从80后的“张扬个性”到90后的"非主流"
- 中国企业缺什么?
- GB2312和Utf-8编码的转换[3]
- DAL数据处理层分析