-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8657483
Showing
362 changed files
with
39,058 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
|
||
// Client.cpp : 定义应用程序的类行为。 | ||
// | ||
|
||
#include "stdafx.h" | ||
#include "Client.h" | ||
#include "ClientDlg.h" | ||
|
||
#ifdef _DEBUG | ||
#define new DEBUG_NEW | ||
#endif | ||
|
||
|
||
// CClientApp | ||
|
||
BEGIN_MESSAGE_MAP(CClientApp, CWinApp) | ||
ON_COMMAND(ID_HELP, &CWinApp::OnHelp) | ||
END_MESSAGE_MAP() | ||
|
||
|
||
// CClientApp 构造 | ||
|
||
CClientApp::CClientApp() | ||
{ | ||
// 支持重新启动管理器 | ||
m_dwRestartManagerSupportFlags = AFX_RESTART_MANAGER_SUPPORT_RESTART; | ||
|
||
// TODO: 在此处添加构造代码, | ||
// 将所有重要的初始化放置在 InitInstance 中 | ||
} | ||
|
||
|
||
// 唯一的一个 CClientApp 对象 | ||
|
||
CClientApp theApp; | ||
|
||
|
||
// CClientApp 初始化 | ||
|
||
BOOL CClientApp::InitInstance() | ||
{ | ||
// 如果一个运行在 Windows XP 上的应用程序清单指定要 | ||
// 使用 ComCtl32.dll 版本 6 或更高版本来启用可视化方式, | ||
//则需要 InitCommonControlsEx()。否则,将无法创建窗口。 | ||
INITCOMMONCONTROLSEX InitCtrls; | ||
InitCtrls.dwSize = sizeof(InitCtrls); | ||
// 将它设置为包括所有要在应用程序中使用的 | ||
// 公共控件类。 | ||
InitCtrls.dwICC = ICC_WIN95_CLASSES; | ||
InitCommonControlsEx(&InitCtrls); | ||
|
||
CWinApp::InitInstance(); | ||
|
||
if (!AfxSocketInit()) | ||
{ | ||
AfxMessageBox(IDP_SOCKETS_INIT_FAILED); | ||
return FALSE; | ||
} | ||
AfxEnableControlContainer(); | ||
|
||
// 创建 shell 管理器,以防对话框包含 | ||
// 任何 shell 树视图控件或 shell 列表视图控件。 | ||
CShellManager *pShellManager = new CShellManager; | ||
SetRegistryKey(_T("应用程序向导生成的本地应用程序")); | ||
|
||
CClientDlg dlg; | ||
m_pMainWnd = &dlg; | ||
INT_PTR nResponse = dlg.DoModal(); | ||
if (nResponse == IDOK) | ||
{ | ||
// TODO: 在此放置处理何时用 | ||
// “确定”来关闭对话框的代码 | ||
} | ||
else if (nResponse == IDCANCEL) | ||
{ | ||
// TODO: 在此放置处理何时用 | ||
// “取消”来关闭对话框的代码 | ||
} | ||
|
||
// 删除上面创建的 shell 管理器。 | ||
if (pShellManager != NULL) | ||
{ | ||
delete pShellManager; | ||
} | ||
|
||
// 由于对话框已关闭,所以将返回 FALSE 以便退出应用程序, | ||
// 而不是启动应用程序的消息泵。 | ||
return FALSE; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
// Client.h : PROJECT_NAME 应用程序的主头文件 | ||
// | ||
|
||
#pragma once | ||
|
||
#ifndef __AFXWIN_H__ | ||
#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件" | ||
#endif | ||
|
||
#include "resource.h" // 主符号 | ||
|
||
|
||
// CClientApp: | ||
// 有关此类的实现,请参阅 Client.cpp | ||
// | ||
|
||
class CClientApp : public CWinApp | ||
{ | ||
public: | ||
CClientApp(); | ||
|
||
// 重写 | ||
public: | ||
virtual BOOL InitInstance(); | ||
|
||
// 实现 | ||
|
||
DECLARE_MESSAGE_MAP() | ||
}; | ||
|
||
extern CClientApp theApp; |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,180 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup Label="ProjectConfigurations"> | ||
<ProjectConfiguration Include="Debug|Win32"> | ||
<Configuration>Debug</Configuration> | ||
<Platform>Win32</Platform> | ||
</ProjectConfiguration> | ||
<ProjectConfiguration Include="Release|Win32"> | ||
<Configuration>Release</Configuration> | ||
<Platform>Win32</Platform> | ||
</ProjectConfiguration> | ||
</ItemGroup> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>{DBDB2618-247A-46EC-BF28-E94187D17DA9}</ProjectGuid> | ||
<RootNamespace>Client</RootNamespace> | ||
<Keyword>MFCProj</Keyword> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | ||
<ConfigurationType>Application</ConfigurationType> | ||
<UseDebugLibraries>true</UseDebugLibraries> | ||
<CharacterSet>MultiByte</CharacterSet> | ||
<UseOfMfc>Dynamic</UseOfMfc> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | ||
<ConfigurationType>Application</ConfigurationType> | ||
<UseDebugLibraries>false</UseDebugLibraries> | ||
<WholeProgramOptimization>true</WholeProgramOptimization> | ||
<CharacterSet>MultiByte</CharacterSet> | ||
<UseOfMfc>Dynamic</UseOfMfc> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
<ImportGroup Label="ExtensionSettings"> | ||
</ImportGroup> | ||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
</ImportGroup> | ||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
</ImportGroup> | ||
<PropertyGroup Label="UserMacros" /> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<LinkIncremental>true</LinkIncremental> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
<LinkIncremental>false</LinkIncremental> | ||
</PropertyGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<ClCompile> | ||
<PrecompiledHeader>Use</PrecompiledHeader> | ||
<WarningLevel>Level3</WarningLevel> | ||
<Optimization>Disabled</Optimization> | ||
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
</ClCompile> | ||
<Link> | ||
<SubSystem>Windows</SubSystem> | ||
<GenerateDebugInformation>true</GenerateDebugInformation> | ||
<AdditionalDependencies>JpegLib.lib</AdditionalDependencies> | ||
</Link> | ||
<Midl> | ||
<MkTypLibCompatible>false</MkTypLibCompatible> | ||
<ValidateAllParameters>true</ValidateAllParameters> | ||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
</Midl> | ||
<ResourceCompile> | ||
<Culture>0x0804</Culture> | ||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
</ResourceCompile> | ||
</ItemDefinitionGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
<ClCompile> | ||
<WarningLevel>Level3</WarningLevel> | ||
<PrecompiledHeader>Use</PrecompiledHeader> | ||
<Optimization>MaxSpeed</Optimization> | ||
<FunctionLevelLinking>true</FunctionLevelLinking> | ||
<IntrinsicFunctions>true</IntrinsicFunctions> | ||
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
</ClCompile> | ||
<Link> | ||
<SubSystem>Windows</SubSystem> | ||
<GenerateDebugInformation>true</GenerateDebugInformation> | ||
<EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
<OptimizeReferences>true</OptimizeReferences> | ||
<AdditionalDependencies>JpegLib.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
</Link> | ||
<Midl> | ||
<MkTypLibCompatible>false</MkTypLibCompatible> | ||
<ValidateAllParameters>true</ValidateAllParameters> | ||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
</Midl> | ||
<ResourceCompile> | ||
<Culture>0x0804</Culture> | ||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
</ResourceCompile> | ||
</ItemDefinitionGroup> | ||
<ItemGroup> | ||
<None Include="..\..\..\..\..\Desktop\光驱.ico" /> | ||
<None Include="..\..\..\..\..\Desktop\文件夹.ico" /> | ||
<None Include="..\..\..\..\..\Desktop\文件夹2.ico" /> | ||
<None Include="..\..\..\..\..\Desktop\硬盘.ico" /> | ||
<None Include="..\..\..\..\..\Desktop\软驱.ico" /> | ||
<None Include="ReadMe.txt" /> | ||
<None Include="res\bitmap1.bmp" /> | ||
<None Include="res\bitmap2.bmp" /> | ||
<None Include="res\bmp00001.bmp" /> | ||
<None Include="res\bmp00002.bmp" /> | ||
<None Include="res\bmp00003.bmp" /> | ||
<None Include="res\bmp00004.bmp" /> | ||
<None Include="res\Client.ico" /> | ||
<None Include="res\Client.rc2" /> | ||
<None Include="res\icon1.ico" /> | ||
<None Include="res\光驱.ico" /> | ||
<None Include="res\文件夹1.ico" /> | ||
<None Include="res\文件夹2.ico" /> | ||
<None Include="res\硬盘.ico" /> | ||
<None Include="res\软驱.ico" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClInclude Include="Client.h" /> | ||
<ClInclude Include="ClientDlg.h" /> | ||
<ClInclude Include="comm.h" /> | ||
<ClInclude Include="FileManageDlg.h" /> | ||
<ClInclude Include="FullScreenTitleBar.h" /> | ||
<ClInclude Include="FullScreenTitleBarConst.h" /> | ||
<ClInclude Include="GetScreenToBitMap.h" /> | ||
<ClInclude Include="Huffman.h" /> | ||
<ClInclude Include="JpegFile.h" /> | ||
<ClInclude Include="KeyLogDlg.h" /> | ||
<ClInclude Include="NL_QQwry.h" /> | ||
<ClInclude Include="ProcManageDlg.h" /> | ||
<ClInclude Include="RegManageDlg.h" /> | ||
<ClInclude Include="RemoteDesktopDlg.h" /> | ||
<ClInclude Include="Resource.h" /> | ||
<ClInclude Include="SearchListCtrl.h" /> | ||
<ClInclude Include="ServiceManageDlg.h" /> | ||
<ClInclude Include="ServicManageEditDlg.h" /> | ||
<ClInclude Include="ShellDlg.h" /> | ||
<ClInclude Include="stdafx.h" /> | ||
<ClInclude Include="targetver.h" /> | ||
<ClInclude Include="TcpTran.h" /> | ||
<ClInclude Include="VideoManage.h" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClCompile Include="Client.cpp" /> | ||
<ClCompile Include="ClientDlg.cpp" /> | ||
<ClCompile Include="FileManageDlg.cpp" /> | ||
<ClCompile Include="FullScreenTitleBar.cpp" /> | ||
<ClCompile Include="GetScreenToBitMap.cpp" /> | ||
<ClCompile Include="Huffman.cpp" /> | ||
<ClCompile Include="JpegFile.cpp" /> | ||
<ClCompile Include="KeyLogDlg.cpp" /> | ||
<ClCompile Include="NL_QQwry.cpp" /> | ||
<ClCompile Include="ProcManageDlg.cpp" /> | ||
<ClCompile Include="RegManageDlg.cpp" /> | ||
<ClCompile Include="RemoteDesktopDlg.cpp" /> | ||
<ClCompile Include="SearchListCtrl.cpp" /> | ||
<ClCompile Include="ServiceManageDlg.cpp" /> | ||
<ClCompile Include="ServicManageEditDlg.cpp" /> | ||
<ClCompile Include="ShellDlg.cpp" /> | ||
<ClCompile Include="stdafx.cpp"> | ||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> | ||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader> | ||
</ClCompile> | ||
<ClCompile Include="TcpTran.cpp" /> | ||
<ClCompile Include="VideoManage.cpp" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ResourceCompile Include="Client.rc" /> | ||
</ItemGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
<ImportGroup Label="ExtensionTargets"> | ||
</ImportGroup> | ||
<ProjectExtensions> | ||
<VisualStudio> | ||
<UserProperties RESOURCE_FILE="Client.rc" /> | ||
</VisualStudio> | ||
</ProjectExtensions> | ||
</Project> |
Oops, something went wrong.