[Sphere-axis-commits] CVS: Utilities/CCWizard CCWizard.rc,1.1,1.2 CCWizardDlg.cpp,1.1,1.2 CCWizardDl
Brought to you by:
pesterle
From: Philip E. <pes...@us...> - 2003-10-03 17:38:31
|
Update of /cvsroot/sphere-axis/Utilities/CCWizard In directory sc8-pr-cvs1:/tmp/cvs-serv2741 Modified Files: CCWizard.rc CCWizardDlg.cpp CCWizardDlg.h Log Message: Updates to CCWizard code. C++/C# sections mostly completed. Still need to work on VB section. Index: CCWizard.rc =================================================================== RCS file: /cvsroot/sphere-axis/Utilities/CCWizard/CCWizard.rc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** CCWizard.rc 5 Sep 2003 18:29:26 -0000 1.1 --- CCWizard.rc 3 Oct 2003 17:38:27 -0000 1.2 *************** *** 108,112 **** GROUPBOX "Language Properties",IDC_STATIC,7,73,151,26 EDITTEXT IDC_STATUS,7,101,306,92,ES_MULTILINE | ES_AUTOHSCROLL | ! ES_READONLY GROUPBOX "Output",IDC_STATIC,7,7,249,26 LTEXT "Output Path",IDC_STATIC,13,18,40,8 --- 108,112 ---- GROUPBOX "Language Properties",IDC_STATIC,7,73,151,26 EDITTEXT IDC_STATUS,7,101,306,92,ES_MULTILINE | ES_AUTOHSCROLL | ! ES_READONLY | WS_VSCROLL GROUPBOX "Output",IDC_STATIC,7,7,249,26 LTEXT "Output Path",IDC_STATIC,13,18,40,8 Index: CCWizardDlg.cpp =================================================================== RCS file: /cvsroot/sphere-axis/Utilities/CCWizard/CCWizardDlg.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** CCWizardDlg.cpp 5 Sep 2003 18:29:26 -0000 1.1 --- CCWizardDlg.cpp 3 Oct 2003 17:38:27 -0000 1.2 *************** *** 210,213 **** --- 210,225 ---- sLine.Format(_T("Class GUID = %s%c%c"), m_sClassGUID, 0x0d, 0x0a); sStatus.Append(sLine); + m_sCompRegGUID = MakeGUID(); + sLine.Format(_T("CompReg GUID = %s%c%c"), m_sCompRegGUID, 0x0d, 0x0a); + sStatus.Append(sLine); + m_sCompRegInterfaceGUID = MakeGUID(); + sLine.Format(_T("CompRegInterface GUID = %s%c%c"), m_sCompRegInterfaceGUID, 0x0d, 0x0a); + sStatus.Append(sLine); + m_sAppIDResourceGUID = MakeGUID(); [...1593 lines suppressed...] + // ********************** + sFile.Format(_T("%s\\stdafx.cpp"), m_sPath); + sLine.Format(_T("Creating file %s%c%c"), sFile, 0x0d, 0x0a); + status.Append(sLine); + m_eStatus.SetWindowText(status); + if ( !f.Open(sFile, CFile::modeCreate | CFile::modeWrite | CFile::typeText | CFile::shareDenyWrite) ) + { + sLine.Format(_T("Error creating file %s%c%c"), sFile, 0x0d, 0x0a); + status.Append(sLine); + m_eStatus.SetWindowText(status); + return; + } + FileWrite(f, _T("// stdafx.cpp : source file that includes just the standard includes\n")); + FileWrite(f, _T("// %s.pch will be the pre-compiled header\n"), m_sLibrary); + FileWrite(f, _T("// stdafx.obj will contain the pre-compiled type information\n")); + FileWrite(f, _T("\n")); + FileWrite(f, _T("#include \"stdafx.h\"\n")); + f.Close(); } Index: CCWizardDlg.h =================================================================== RCS file: /cvsroot/sphere-axis/Utilities/CCWizard/CCWizardDlg.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** CCWizardDlg.h 5 Sep 2003 18:29:26 -0000 1.1 --- CCWizardDlg.h 3 Oct 2003 17:38:27 -0000 1.2 *************** *** 38,41 **** --- 38,45 ---- CString m_sTlbGUID; CString m_sClassGUID; + CString m_sCompRegGUID; + CString m_sCompRegInterfaceGUID; + CString m_sAppIDResourceGUID; + CString m_sProjectGUID; CString m_sPath; *************** *** 44,52 **** // Functions to build C++ files ! void BuildDllDataFiles(); ! void BuildClassFiles(); ! void BuildTlbFiles(); ! void BuildProjectFiles(); ! void BuildExtraFiles(); // Functions to build C# files --- 48,56 ---- // Functions to build C++ files ! void BuildCDllDataFiles(); ! void BuildCClassFiles(); ! void BuildCTlbFiles(); ! void BuildCProjectFiles(); ! void BuildCExtraFiles(); // Functions to build C# files |