-
파일을 쓰는 쪽 CFile dat_file;dat_file.Open(L"D:\\test.dat", CFile::modeCreate | CFile::modeWrite | CFile::typeBinary | CFile::shareDenyWrite); 파일을 읽는 쪽 CFile dat_file; dat_file.Open(L"D:\\test.dat", CFile::modeRead | CFile::shareDenyNone);