ntsharesdemo.cpp

来自「此源码为设置本地文件夹为局域网内的共享文件夹」· C++ 代码 · 共 43 行

CPP
43
字号
#include "stdafx.h"
#include "NTSharesDemo.h"
#include "NTSharesDemoDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif

// CSharesDemoApp

BEGIN_MESSAGE_MAP(CSharesDemoApp, CWinApp)
END_MESSAGE_MAP()

// CSharesDemoApp construction

CSharesDemoApp::CSharesDemoApp()
{
	// TODO: add construction code here,
	// Place all significant initialization in InitInstance
}

// The one and only CSharesDemoApp object

CSharesDemoApp theApp;

// CSharesDemoApp initialization

BOOL CSharesDemoApp::InitInstance()
{
	// InitCommonControls() is required on Windows XP if an application
	// manifest specifies use of ComCtl32.dll version 6 or later to enable
	// visual styles.  Otherwise, any window creation will fail.
	InitCommonControls();

	CWinApp::InitInstance();

	CSharesDemoDlg dlg;
	m_pMainWnd = &dlg;
	INT_PTR nResponse = dlg.DoModal();
	
  return FALSE;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?