多核编程与并行计算
ON_COMMAND(ID_FILE_OPEN, CWinApp::OnFileOpen) END_MESSAGE_MAP()
///////////////////////////////////////////////////////////////////////////// // CExa8App construction
CExa8App::CExa8App()
{
}
///////////////////////////////////////////////////////////////////////////// // The one and only CExa8App object
CExa8App theApp;
///////////////////////////////////////////////////////////////////////////// // CExa8App initialization
BOOL CExa8App::InitInstance()
{
#ifdef _AFXDLL
// Register the application's document templates. Document templates LoadStdProfileSettings(); // Load standard INI file options (including MRU) // Change the registry key under which our settings are stored. // TODO: You should modify this string to be something appropriate // such as the name of your company or organization. SetRegistryKey(_T("Local AppWizard-Generated Applications")); Enable3dControls(); // Call this when using MFC in a shared DLL #else Enable3dControlsStatic(); // Call this when linking to MFC statically #endif // Standard initialization // If you are not using these features and wish to reduce the size // of your final executable, you should remove from the following // the specific initialization routines you do not need. AfxEnableControlContainer(); // TODO: add construction code here, // Place all significant initialization in InitInstance