Index: wizcfg/wizcfg.cpp =================================================================== RCS file: /scotty/wizard/wizcfg/wizcfg.cpp,v retrieving revision 1.1.2.12.2.96 diff -c -r1.1.2.12.2.96 wizcfg.cpp *** wizcfg/wizcfg.cpp 8 Aug 2024 10:13:16 -0000 1.1.2.12.2.96 --- wizcfg/wizcfg.cpp 8 Aug 2024 13:08:29 -0000 *************** *** 1945,1952 **** } DWORD dwBytesWrittenProj; ! BOOL bWrite = WriteFile (hFile, projContents, projContents.GetLength(), &dwBytesWrittenProj, NULL); ! if (bWrite != TRUE) { szMessage.FormatMessage(_T("CVS Suite Server Configurator Wizard - cannot write file \"%1!s!\"."), szPathToNewProjFile); CT2A strMessage(szMessage); --- 1945,1953 ---- } DWORD dwBytesWrittenProj; ! CT2A strProjContents(projContents); ! BOOL bWriteProj = WriteFile (hFile, strProjContents.m_psz, projContents.GetLength(), &dwBytesWrittenProj, NULL); ! if (bWriteProj != TRUE) { szMessage.FormatMessage(_T("CVS Suite Server Configurator Wizard - cannot write file \"%1!s!\"."), szPathToNewProjFile); CT2A strMessage(szMessage); *************** *** 1983,1989 **** return; } ! BOOL bWrite = WriteFile (hFile, slnContents, slnContents.GetLength(), &dwBytesWritten, NULL); if (bWrite != TRUE) { szMessage.FormatMessage(_T("CVS Suite Server Configurator Wizard - cannot write file \"%1!s!\"."), szPathToNewFile); --- 1984,1991 ---- return; } ! CT2A strSlnContents(slnContents); ! BOOL bWrite = WriteFile (hFile, strSlnContents.m_psz, slnContents.GetLength(), &dwBytesWritten, NULL); if (bWrite != TRUE) { szMessage.FormatMessage(_T("CVS Suite Server Configurator Wizard - cannot write file \"%1!s!\"."), szPathToNewFile);