[system programming] 가상메모리(VirtualAlloc, VirtualFree)
190705-3 교육을 받으면서 노트필기 했던 내용을 날것 그대로 업로드합니다. 가상메모리 가상메모리 함수 사용 #include LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM); HINSTANCE g_hInst; HWND hWndMain; LPCTSTR lpszClass=TEXT("BigMemory"); int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance ,LPSTR lpszCmdParam,int nCmdShow) { 기본 코드 생략 } #define MEGA 1048576 PBYTE stptr=NULL; TCHAR Status[256]="할당되지 않았습니다"; void FreeRecords() { ..
System Programming
2019. 7. 9. 14:40