www.pudn.com > MP3 Baptism 1.0 一个完整的VC++软件源代码 .zip > mp3baptism.cpp
// mp3baptism.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "mp3baptism.h"
#include "mp3baptismDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMp3baptismApp
BEGIN_MESSAGE_MAP(CMp3baptismApp, CWinApp)
//{{AFX_MSG_MAP(CMp3baptismApp)
//}}AFX_MSG
ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CMp3baptismApp construction
CMp3baptismApp::CMp3baptismApp()
{
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CMp3baptismApp object
CMp3baptismApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CMp3baptismApp initialization
BOOL CMp3baptismApp::InitInstance()
{
// Standard initialization
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
CMp3baptismDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
}
else if (nResponse == IDCANCEL)
{
}
// Since the dialog has been closed, return FALSE so that we exit the
// application, rather than start the application's message pump.
return FALSE;
}