- 博客(2)
- 资源 (3)
- 收藏
- 关注
原创 关于回调函数里的控件使用问题
这两天在编写视频采集程序,用dspack中的samplegrabber,在OnBuffer里连续采集并处理,为了方便,直接在Edit控件里写调试信息,开始还用得很好,后来需要在每次回调都显示一个参数,结果出了问题,现象是参数显示出错(浮点数,显示为NAN) ,程序关闭时退不出,把调试信息统统注释掉就正常了,分析原因是回调函数是由线程启动,而控件不是线程安全的,如果写Edit很少的时候出错的
2007-03-20 09:30:00 1193
原创 在C++Builder下如何设置dspack的图象大小
这两天在C++Builder下测试dspack,想设置采集图象的分辨率,在网上查找了一下,没找到C++Builder如何使用,只有delphi下的代码如下:{ PinList := TPinList.Create(Filter1 as IBaseFilter);if cbFormats.ItemIndex with (PinList.First as IAMStreamConfig) doSe
2007-03-18 15:51:00 1926
PS-ReC SDK v1.1.0e
2008-12-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人