From 0c66940a8e2cf64c9890519901f433b3668216b6 Mon Sep 17 00:00:00 2001 From: KEJ <kimeungju@diteam.co.kr> Date: 수, 26 6월 2024 15:13:18 +0900 Subject: [PATCH] Ongoing80 #4942 CF AOI Review Bin File Loading 실패 개선 1. GlassRawMessenger 동기화 2. BIN파일 FindFile 제거(RawMessenger, Review 공통) 3. Unloading 시 BIN파일 제거 --- ReviewSystem/ReviewSystem/DlgDeffectHistroy.cpp | 37 ++++++++++++++++++++++++------------- 1 files changed, 24 insertions(+), 13 deletions(-) diff --git a/ReviewSystem/ReviewSystem/DlgDeffectHistroy.cpp b/ReviewSystem/ReviewSystem/DlgDeffectHistroy.cpp index 7704ff5..17200a9 100644 --- a/ReviewSystem/ReviewSystem/DlgDeffectHistroy.cpp +++ b/ReviewSystem/ReviewSystem/DlgDeffectHistroy.cpp @@ -575,23 +575,34 @@ void CDlgDeffectHistroy::OnDblclkListHistoryDefect(NMHDR *pNMHDR, LRESULT *pResult) { - LPNMITEMACTIVATE pNMItemActivate = reinterpret_cast<LPNMITEMACTIVATE>(pNMHDR); - // TODO: �뿬湲곗뿉 而⑦듃濡� �븣由� 泥섎━湲� 肄붾뱶瑜� 異붽��빀�땲�떎. - - int nPos = m_ctrlListDefectHistory.GetSelectionMark(); - if (nPos >= 0) + + /*< LYW 20211005 - #3662 ADD Start >*/ + try { - CString strText; - strText = m_ctrlListDefectHistory.GetItemText(nPos, 0); - int nDefectIdx = _ttoi(strText); - if (nDefectIdx < 0) - return; + LPNMITEMACTIVATE pNMItemActivate = reinterpret_cast<LPNMITEMACTIVATE>(pNMHDR); + // TODO: �뿬湲곗뿉 而⑦듃濡� �븣由� 泥섎━湲� 肄붾뱶瑜� 異붽��빀�땲�떎. - //History tool �뿉 �씤�뜳�뒪 踰덊샇 �꽆湲곌린 - m_pDDL2P->UpdateSelectDefectInfoMap2(nDefectIdx); + int nPos = m_ctrlListDefectHistory.GetSelectionMark(); + if (nPos >= 0) + { + CString strText; + strText = m_ctrlListDefectHistory.GetItemText(nPos, 0); + int nDefectIdx = _ttoi(strText); + if (nDefectIdx < 0) + return; + + //History tool �뿉 �씤�뜳�뒪 踰덊샇 �꽆湲곌린 + m_pDDL2P->UpdateSelectDefectInfoMap2(nDefectIdx); + } + + *pResult = 0; } + catch (...) + { + return; + } + /*< LYW 20211005 - #3662 ADD End >*/ - *pResult = 0; } void CDlgDeffectHistroy::OnSize(UINT nType, int cx, int cy) -- Gitblit v1.9.3