15,980
社区成员
发帖
与我相关
我的任务
分享
class CRealTimePadSystemDlg : public CDialog
{
// Construction
public:
CRealTimePadSystemDlg(CWnd* pParent = NULL); // standard constructor
cHcpAction m_Action;
// int CheckImage(WORD* ModeBuf); //检测图片合格函数
void PerformOffsetCalibration();
void PerformGainCalibration();
int QueryProgress(bool showAll=false);
static long ImgDisplayThreadIsAlive; //线程标志位
static bool prevInit; //???
};
int CRealTimePadSystemDlg::QueryProgress(bool showAll)
{
//static struct UQueryProgInfo prevStatus; // So we can tell when GCrntStatus changes
if(!prevInit)
{
memset(&m_Action.prevStatus, 0, sizeof(SQueryProgInfo));
m_Action.prevStatus.qpi.NumFrames = -1;
prevInit = true;
}
......}
编译通过没问题,build时提示error LNK2001: unresolved external symbol "public: static bool CRealTimePadSystemDlg::prevInit" (?prevInit@CRealTimePadSystemDlg@@2_NA)