알고리즘1 윈도우 디버그 API를 사용하여 로깅하기 DLLvoid ProcessDebugEvent( DEBUG_EVENT& debugEvent) { switch (debugEvent.dwDebugEventCode) { case OUTPUT_DEBUG_STRING_EVENT: { OUTPUT_DEBUG_STRING_INFO& info = debugEvent.u.DebugString; char buffer[1024] = { 0 }; // 디버그 메시지를 읽기 위해 ReadProcessMemory 사용 if (info.fUnicode) { // 유니코드 문자열 처리 WCHAR wBuffer[512] = { 0 }; SIZE_T bytesRea.. 2025. 3. 20. 이전 1 다음