Platform
-
파일 시스템 - Win32Platform/File(장치 IO) 2009. 2. 4. 17:36
CreateFile() DeleteFile() CopyFile() CreateHardLink() MoveFile() MoveFileEx() MOVEFILE_COPY_ALLOWED CreateDirectory() RemoveDirectory() SetCurrentDirectory() GetCurrentDirectory() FindfirstFile() FtpFindFirstFile() FindNextFile() InternetFindNextFile() FindClose() GetFileInformationByHandle() GetFileTime() SetFileTime() CompareFileTime() FileTimeToSystemTime() SystemTimeToFileTime() FileTimeToLo..
-
규격Platform/IPC 2009. 2. 4. 15:34
실행인자 환경변수 파일 가장 단순 HANDLE hTempFile_ = INVALID_HANDLE_VALUE; HANDLE hTempFile2 = INVALID_HANDLE_VALUE; TCHAR sTempFile[MAX_PATH]; memset(sTempFile, 0, sizeof sTempFile); try { TCHAR lpTempPathBuffer[MAX_PATH]; DWORD dwRetVal = 0; memset(lpTempPathBuffer, 0, sizeof lpTempPathBuffer); dwRetVal = GetTempPath(MAX_PATH, lpTempPathBuffer); if (dwRetVal > MAX_PATH || (dwRetVal == 0)) { throw 100; } if ..
-
-
Win32Platform/File(장치 IO) 2009. 1. 22. 17:57
CreateFile() INVALID_HANDLE_VALUE dwDesiredAccess GENERIC_READ GENERIC_WRITE dwShareMode FILE_SHARE_READ dwCreationDisposition OPEN_EXISTING CREATE_ALWAYS dwFlagsAndAttributes FILE_ATTRIBUTE_NORMAL FILE_ATTRIBUTE_ARCHIVE FILE_ATTRIBUTE_READONLY FILE_FLAG_OVERLAPPED c.f. OpenFile() - compatibility CloseHandle() WriteFile() WriteFileEx() ReadFile() ReadFileEx() GetOverlappedResult() SetFilePointer..
-
MFC 지원Platform/설정 2009. 1. 22. 15:52
프로젝트 설정 대화상자의 'Microsoft Foundation Classes:' 콤보 상자에서 MFC 사용을 선택 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers #include #include // MFC core and standard components #include // MFC extensions #include // MFC support for Internet Explorer 4 Common Controls #ifndef _AFX_NO_AFXCMN_SUPPORT #include // MFC support for Windows Common Controls #endif // _AFX_NO_AFXCMN_SUPPORT C..
-
-
DirectXPlatform/사운드 2009. 1. 21. 01:02
#define _STLP_NEW_PLATFORM_SDK 1 #include #include #include #include char c_szClassName[] = "사운드출력" ; HINSTANCE g_hInst ; BOOL g_bPaused = TRUE ; LPDIRECTINPUT g_lpDirectInput ; LPDIRECTINPUTDEVICE g_lpKeyboard ; char g_szText[1024] = "00" ; int X_pos, Y_pos ; #define KEYDOWN(State,KeyID) (State[KeyID] & 0x80) #ifdef DS #define NUM_SOUNDS 5 #define SPACE 0 #define LEFT 1 #define RIGHT 2 #define ..