testlogclient.cpp
来自「中间件编写示例 COM与.NET组件服务」· C++ 代码 · 共 53 行
CPP
53 行
// TestLogClient.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "TestLogClient.h"
#include "TestLogClientDlg.h"
/////////////////////////////////////////////////////////////////////////////
// CTestLogClientApp
BEGIN_MESSAGE_MAP(CTestLogClientApp, CWinApp)
//{{AFX_MSG_MAP(CTestLogClientApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CTestLogClientApp construction
CTestLogClientApp::CTestLogClientApp()
{
// TODO: add construction code here,
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CTestLogClientApp object
CTestLogClientApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CTestLogClientApp initialization
BOOL CTestLogClientApp::InitInstance()
{
::CoInitialize(NULL);
AfxEnableControlContainer();
{
CTestLogClientDlg dlg;
m_pMainWnd = &dlg;
dlg.DoModal();
}
::CoUninitialize();
return FALSE;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?