标题:请求帮助 invalid handle
只看楼主
一天一天
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2006-8-24
 问题点数:0 回复次数:1 
请求帮助 invalid handle

我使用的线程,用
AfxBeginThread(capter,this);启动线程,然后进入下面线程
UINT CMyclientView::capter(LPVOID pData)
{

while(1)
{
CMyclientView *pThis=(CMyclientView *)pData;
int i=GetLastError();
FPGetImg(0,pThis->pImgData,2000);
pThis->SendMessage(CX_CAPTEROK);

}
return 0;
}
再while循环中,第一次是能顺利通过,可第二此的时候就在 FPGetImg(0,pThis->pImgData,2000);跳出异常First-chance exception invalid in myclient.ext(NTDLL.DLL):0XC0000008:Invalid handle.想请求大家的帮助?

搜索更多相关主题的帖子: invalid handle 请求 
2006-08-24 17:28
一天一天
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2006-8-24
得分:0 
问题以解决,
2006-08-25 11:19



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-85913-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.018574 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved