[MFC] wave 파일 재생하기....
1. 헤더에 우선 선언한다. #pragma comment(lib, "winmm") #include 2. wave가 들어있는 곳의 디렉토리 주소획득하여 "완료.wav"라는 파일 실행 CSting strThisPath, chThisPath; GetCurrentDirectory(256, chThisPath); //현재 디렉토리 위치를 구함 strThisPath.Format("%s\\wave\\%s.wav",chThisPath, "완료"); PlaySound(strThisPath, AfxGetInstanceHandle(), SND_ASYNC); // 1회 재생 3. wave 파일을 리소스에 등록 후 재생 PlaySound((LPCSTR)MAKEINTRESOURCE(IDR_WAVE), NULL, SND_ASYNC..