// HJUnzipDlg.h : 头文件 // #pragma once #include #include "../SmartEvaluationLogic/ScanDll.h" // CHJUnzipDlg 对话框 class CHJUnzipDlg : public CDialogEx { // 构造 public: CHJUnzipDlg(CWnd* pParent = NULL); // 标准构造函数 // 对话框数据 enum { IDD = IDD_HJUNZIP_DIALOG }; void DoDetectZipFile(); void DoThreadScan(); // 实现 protected: HICON m_hIcon; // 生成的消息映射函数 virtual BOOL OnInitDialog(); virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg BOOL OnCopyData(CWnd* pWnd, COPYDATASTRUCT* pCopyDataStruct); afx_msg void OnTimer(UINT_PTR nIDEvent); DECLARE_MESSAGE_MAP() void DetectZipFile(); void SetShareMemoryData(char* szParam); void RunScanExe(int batch_id); HANDLE m_hThreadDetect; HANDLE m_hThreadScan; wstring m_strModuleDir; wstring m_strShareDir; wstring m_strScanExePath; typedef struct tagScanPaper { int batch_id; int scan_umbers; int paper_cnt; __int64 scan_time; }; queue m_queueIds; RTL_CRITICAL_SECTION m_criticalIdsLock; };