SDC C-Project CF Review 프로그램
ReviewHistory/ReveiwHistory/stdafx.h
»õ ÆÄÀÏ
@@ -0,0 +1,85 @@

// stdafx.h : ìžì£¼ ì‚¬ìš©í•˜ì§€ë§Œ ìžì£¼ ë³€ê²½ë˜ì§€ëŠ” ì•ŠëŠ”
// í‘œì¤€ ì‹œìŠ¤í…œ í¬í•¨ íŒŒì¼ ë° í”„로젝트 ê´€ë ¨ í¬í•¨ íŒŒì¼ì´
// ë“¤ì–´ ìžˆëŠ” í¬í•¨ íŒŒì¼ìž…니다.
#pragma once
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN            // ê±°ì˜ ì‚¬ìš©ë˜ì§€ ì•ŠëŠ” ë‚´ìš©ì€ Windows í—¤ë”에서 ì œì™¸í•©ë‹ˆë‹¤.
#endif
#include "targetver.h"
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // ì¼ë¶€ CString ìƒì„±ìžëŠ” ëª…시적으로 ì„ ì–¸ë©ë‹ˆë‹¤.
// MFC의 ê³µí†µ ë¶€ë¶„ê³¼ ë¬´ì‹œ ê°€ëŠ¥í•œ ê²½ê³  ë©”시지에 ëŒ€í•œ ìˆ¨ê¸°ê¸°ë¥¼ í•´ì œí•©ë‹ˆë‹¤.
#define _AFX_ALL_WARNINGS
#include <afxwin.h>         // MFC í•µì‹¬ ë° í‘œì¤€ êµ¬ì„± ìš”소입니다.
#include <afxext.h>         // MFC í™•장입니다.
#include <afxdisp.h>        // MFC ìžë™í™” í´ëž˜ìŠ¤ìž…ë‹ˆë‹¤.
#ifndef _AFX_NO_OLE_SUPPORT
#include <afxdtctl.h>           // Internet Explorer 4 ê³µìš© ì»¨íŠ¸ë¡¤ì— ëŒ€í•œ MFC ì§€ì›ìž…니다.
#endif
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>             // Windows ê³µìš© ì»¨íŠ¸ë¡¤ì— ëŒ€í•œ MFC ì§€ì›ìž…니다.
#endif // _AFX_NO_AFXCMN_SUPPORT
#include <afxcontrolbars.h>     // MFC의 ë¦¬ë³¸ ë° ì»¨íŠ¸ë¡¤ ë§‰ëŒ€ ì§€ì›
#include <afxwin.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#ifdef _UNICODE
#if defined _M_IX86
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_X64
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#else
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#endif
#endif
enum LogType
{
   Normal = 0,
   Dbg,
   Operation,
   Err
};
#define GRID_FIX_COLOR         RGB(0,128,255)
#define GRID_COLOR            RGB(242,242,242)
#define GRID_TEXT_COLOR         RGB(255,255,255)
#define GRID_ALARM_TEXT_COLOR   RGB(255,0,0)
#define GRID_LINE_COLOR         GRID_FIX_COLOR
extern CCriticalSection g_criticalExe;
extern CCriticalSection g_criticalLog;
CString   GetExePath();
void   LOG(int nType, const char* fmt, ...);
CString INIReadStr(CString strAppName, CString strKeyName, CString strFilePath);
void   INIWriteStr(CString strAppName, CString strKeyName, CString strValue, CString strFilePath);
int      INIReadInt(CString strAppName, CString strKeyName, CString strFilePath);
void   INIWriteInt(CString strAppName, CString strKeyName, int nValue, CString strFilePath);