쓰레드 생성 HANDLE hThread; DWORD dwThreadId; hThread = (HANDLE)_beginthreadex(NULL, 0, &gLearningProcess, this, 0, (unsigned *)&dwThreadId); 쓰레드 함수 unsigned __stdcall gLearningProcess(void* pArg) { CSvCalenderDlg* pDlg = (CSvCalenderDlg*)pArg; return 0; } header 파일에 선언 friend unsigned __stdcall gLearningProcess(void* pArg); Event 관련 API g_hEvent = CreateEvent(NULL,TRUE,FALSE,TEXT("Waiting Event")); ..