mirror of
https://github.com/Cc28256/CcRemote.git
synced 2025-06-12 15:29:51 +00:00
更新流程图
This commit is contained in:
parent
e6bf19d7d0
commit
78d2e5d193
Binary file not shown.
@ -259,9 +259,11 @@
|
|||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="common\RegeditOpt.cpp">
|
<ClCompile Include="common\RegeditOpt.cpp">
|
||||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\pch.h</PrecompiledHeaderFile>
|
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\pch.h</PrecompiledHeaderFile>
|
||||||
|
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\pch.h</PrecompiledHeaderFile>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="common\RegManager.cpp">
|
<ClCompile Include="common\RegManager.cpp">
|
||||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\pch.h</PrecompiledHeaderFile>
|
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\pch.h</PrecompiledHeaderFile>
|
||||||
|
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\pch.h</PrecompiledHeaderFile>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="common\ScreenManager.cpp">
|
<ClCompile Include="common\ScreenManager.cpp">
|
||||||
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\pch.h</PrecompiledHeaderFile>
|
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\pch.h</PrecompiledHeaderFile>
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
f:\myapp\ccremote\bin\server\ccmaindll.lib
|
|
||||||
f:\myapp\ccremote\bin\server\ccmaindll.exp
|
|
||||||
f:\myapp\ccremote\bin\server\ccmaindll.ipdb
|
|
||||||
f:\myapp\ccremote\bin\server\ccmaindll.iobj
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.pch
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.pch
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\vc141.pdb
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\vc141.pdb
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\pch.obj
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\pch.obj
|
||||||
@ -17,6 +13,8 @@ f:\myapp\ccremote\ccmaindll\ccmaindll\release\shellmanager.obj
|
|||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\servermanager.obj
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\servermanager.obj
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\screenspy.obj
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\screenspy.obj
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\screenmanager.obj
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\screenmanager.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\regmanager.obj
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\regeditopt.obj
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\regeditex.obj
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\regeditex.obj
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\manager.obj
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\manager.obj
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\kernelmanager.obj
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\kernelmanager.obj
|
||||||
@ -26,13 +24,8 @@ f:\myapp\ccremote\ccmaindll\ccmaindll\release\audiomanager.obj
|
|||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\filemanager.obj
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\filemanager.obj
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\strcry.obj
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\strcry.obj
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\dllmain.obj
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\dllmain.obj
|
||||||
f:\myapp\ccremote\bin\server\ccmaindll.dll
|
|
||||||
f:\myapp\ccremote\bin\server\ccmaindll.pdb
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\..\..\bin\server\ccmaindll.dll
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\ccmaindll.write.1u.tlog
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\cl.command.1.tlog
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\cl.command.1.tlog
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\cl.read.1.tlog
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\cl.read.1.tlog
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\cl.write.1.tlog
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\cl.write.1.tlog
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\link.command.1.tlog
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\link.command.1.tlog
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\link.read.1.tlog
|
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\link.read.1.tlog
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\release\ccmaindll.tlog\link.write.1.tlog
|
|
||||||
|
@ -58,23 +58,23 @@ f:\myapp\ccremote\ccmaindll\ccmaindll\common\install.cpp(215): warning C4996: 's
|
|||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\install.cpp(214): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\install.cpp(214): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(338): note: 参见“strncpy”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(338): note: 参见“strncpy”的声明
|
||||||
KernelManager.cpp
|
KernelManager.cpp
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(193): warning C4838: 从“int”转换到“char”需要收缩转换
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(194): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(193): warning C4309: “初始化”: 截断常量值
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(194): warning C4309: “初始化”: 截断常量值
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(219): warning C4838: 从“int”转换到“char”需要收缩转换
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(220): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(219): warning C4309: “初始化”: 截断常量值
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(220): warning C4309: “初始化”: 截断常量值
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(257): warning C4838: 从“int”转换到“char”需要收缩转换
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(258): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(257): warning C4309: “初始化”: 截断常量值
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(258): warning C4309: “初始化”: 截断常量值
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(276): warning C4838: 从“int”转换到“char”需要收缩转换
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(276): warning C4309: “初始化”: 截断常量值
|
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(277): warning C4838: 从“int”转换到“char”需要收缩转换
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(277): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(277): warning C4309: “初始化”: 截断常量值
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(277): warning C4309: “初始化”: 截断常量值
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(278): warning C4838: 从“int”转换到“char”需要收缩转换
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(278): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(278): warning C4309: “初始化”: 截断常量值
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(278): warning C4309: “初始化”: 截断常量值
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(311): warning C4838: 从“int”转换到“char”需要收缩转换
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(279): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(311): warning C4309: “初始化”: 截断常量值
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(279): warning C4309: “初始化”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(312): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\loop.h(312): warning C4309: “初始化”: 截断常量值
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\kernelmanager.cpp(43): warning C4018: “<”: 有符号/无符号不匹配
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\kernelmanager.cpp(43): warning C4018: “<”: 有符号/无符号不匹配
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\kernelmanager.cpp(150): warning C4838: 从“int”转换到“char”需要收缩转换
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\kernelmanager.cpp(154): warning C4838: 从“int”转换到“char”需要收缩转换
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\kernelmanager.cpp(150): warning C4309: “初始化”: 截断常量值
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\kernelmanager.cpp(154): warning C4309: “初始化”: 截断常量值
|
||||||
Manager.cpp
|
Manager.cpp
|
||||||
RegEditEx.cpp
|
RegEditEx.cpp
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(10): warning C4996: 'strnicmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strnicmp. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(10): warning C4996: 'strnicmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strnicmp. See online help for details.
|
||||||
@ -99,6 +99,23 @@ f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(121): warning C4996:
|
|||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(266): note: 参见“strncat”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(266): note: 参见“strncat”的声明
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(122): warning C4996: 'strncat': This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditex.cpp(122): warning C4996: 'strncat': This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(266): note: 参见“strncat”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(266): note: 参见“strncat”的声明
|
||||||
|
RegeditOpt.cpp
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditopt.cpp(71): warning C4305: “=”: 从“<unnamed-enum-TRANSFER_MODE_NORMAL>”到“char”截断
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditopt.cpp(71): warning C4309: “=”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditopt.cpp(83): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditopt.cpp(55): warning C4101: “DateSize”: 未引用的局部变量
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditopt.cpp(54): warning C4101: “Type”: 未引用的局部变量
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditopt.cpp(54): warning C4101: “NameSize”: 未引用的局部变量
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditopt.cpp(126): warning C4305: “=”: 从“<unnamed-enum-TRANSFER_MODE_NORMAL>”到“char”截断
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditopt.cpp(126): warning C4309: “=”: 截断常量值
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditopt.cpp(164): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditopt.cpp(98): warning C4101: “szKeyName”: 未引用的局部变量
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditopt.cpp(106): warning C4101: “KeySize”: 未引用的局部变量
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditopt.cpp(182): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
||||||
|
RegManager.cpp
|
||||||
ScreenManager.cpp
|
ScreenManager.cpp
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\screenmanager.cpp(5): warning C4005: “_WIN32_WINNT”: 宏重定义
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\screenmanager.cpp(5): warning C4005: “_WIN32_WINNT”: 宏重定义
|
||||||
d:\windows kits\10\include\10.0.17763.0\shared\sdkddkver.h(216): note: 参见“_WIN32_WINNT”的前一个定义
|
d:\windows kits\10\include\10.0.17763.0\shared\sdkddkver.h(216): note: 参见“_WIN32_WINNT”的前一个定义
|
||||||
@ -107,6 +124,7 @@ f:\myapp\ccremote\ccmaindll\ccmaindll\common\screenspy.cpp(379): warning C4018:
|
|||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\screenspy.cpp(400): warning C4018: “<”: 有符号/无符号不匹配
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\screenspy.cpp(400): warning C4018: “<”: 有符号/无符号不匹配
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\screenspy.cpp(419): warning C4018: “<”: 有符号/无符号不匹配
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\screenspy.cpp(419): warning C4018: “<”: 有符号/无符号不匹配
|
||||||
ServerManager.cpp
|
ServerManager.cpp
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\servermanager.cpp(291): warning C4102: “defaute”: 未引用的标签
|
||||||
ShellManager.cpp
|
ShellManager.cpp
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\shellmanager.cpp(52): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\shellmanager.cpp(52): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(90): note: 参见“strcat”的声明
|
d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(90): note: 参见“strcat”的声明
|
||||||
@ -156,7 +174,8 @@ f:\myapp\ccremote\ccmaindll\ccmaindll\strcry.cpp(10): warning C4267: “=”:
|
|||||||
LINK : warning LNK4044: 无法识别的选项“/Zc:strictStrings”;已忽略
|
LINK : warning LNK4044: 无法识别的选项“/Zc:strictStrings”;已忽略
|
||||||
正在创建库 ..\..\bin\server\CcMainDll.lib 和对象 ..\..\bin\server\CcMainDll.exp
|
正在创建库 ..\..\bin\server\CcMainDll.lib 和对象 ..\..\bin\server\CcMainDll.exp
|
||||||
正在生成代码
|
正在生成代码
|
||||||
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\regeditopt.cpp(113): warning C4700: 使用了未初始化的局部变量“NameSize”
|
||||||
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(260): warning C4715: “CFileManager::OpenFile”: 不是所有的控件路径都返回值
|
f:\myapp\ccremote\ccmaindll\ccmaindll\common\filemanager.cpp(260): warning C4715: “CFileManager::OpenFile”: 不是所有的控件路径都返回值
|
||||||
All 358 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
|
All 372 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
|
||||||
已完成代码的生成
|
已完成代码的生成
|
||||||
CcMainDll.vcxproj -> F:\myapp\CcRemote\CcMainDll\CcMainDll\..\..\bin\server\CcMainDll.dll
|
CcMainDll.vcxproj -> F:\myapp\CcRemote\CcMainDll\CcMainDll\..\..\bin\server\CcMainDll.dll
|
||||||
|
13
CcMainDll/TestLoadDll/Debug/TestLoadDll.Build.CppClean.log
Normal file
13
CcMainDll/TestLoadDll/Debug/TestLoadDll.Build.CppClean.log
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
f:\myapp\ccremote\ccmaindll\testloaddll\debug\vc141.pdb
|
||||||
|
f:\myapp\ccremote\ccmaindll\testloaddll\debug\vc141.idb
|
||||||
|
f:\myapp\ccremote\ccmaindll\testloaddll\debug\testloaddll.obj
|
||||||
|
f:\myapp\ccremote\bin\server\testloaddll.ilk
|
||||||
|
f:\myapp\ccremote\bin\server\testloaddll.exe
|
||||||
|
f:\myapp\ccremote\bin\server\testloaddll.pdb
|
||||||
|
f:\myapp\ccremote\ccmaindll\testloaddll\..\..\bin\server\testloaddll.exe
|
||||||
|
f:\myapp\ccremote\ccmaindll\testloaddll\debug\testloaddll.tlog\cl.command.1.tlog
|
||||||
|
f:\myapp\ccremote\ccmaindll\testloaddll\debug\testloaddll.tlog\cl.read.1.tlog
|
||||||
|
f:\myapp\ccremote\ccmaindll\testloaddll\debug\testloaddll.tlog\cl.write.1.tlog
|
||||||
|
f:\myapp\ccremote\ccmaindll\testloaddll\debug\testloaddll.tlog\link.command.1.tlog
|
||||||
|
f:\myapp\ccremote\ccmaindll\testloaddll\debug\testloaddll.tlog\link.read.1.tlog
|
||||||
|
f:\myapp\ccremote\ccmaindll\testloaddll\debug\testloaddll.tlog\link.write.1.tlog
|
@ -7,7 +7,7 @@
|
|||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
std::cout << "Hello World!\n";
|
std::cout << "Hello World!\n";
|
||||||
char strHost[] = "127.0.0.1"; //声明上线地址
|
char strHost[] = "192.168.2.173"; //声明上线地址
|
||||||
int nPort = 80; //声明上线端口
|
int nPort = 80; //声明上线端口
|
||||||
//载入服务端dll
|
//载入服务端dll
|
||||||
HMODULE hServerDll = LoadLibrary(".\\..\\..\\bin\\server\\CcMainDll.dll");
|
HMODULE hServerDll = LoadLibrary(".\\..\\..\\bin\\server\\CcMainDll.dll");
|
||||||
|
Binary file not shown.
@ -228,7 +228,7 @@ BOOL CCcRemoteDlg::OnInitDialog()
|
|||||||
InitToolBar(); // 初始化工具栏按钮控件
|
InitToolBar(); // 初始化工具栏按钮控件
|
||||||
InitMyMenu(); // 初始化菜单控件
|
InitMyMenu(); // 初始化菜单控件
|
||||||
InitList(); // 初始化列表控件
|
InitList(); // 初始化列表控件
|
||||||
InitStatusBar();//初始化状态栏控件
|
InitStatusBar(); // 初始化状态栏控件
|
||||||
InitPic();
|
InitPic();
|
||||||
//---------改变窗口大小触发动态调整-------|
|
//---------改变窗口大小触发动态调整-------|
|
||||||
CRect rect;
|
CRect rect;
|
||||||
@ -237,7 +237,7 @@ BOOL CCcRemoteDlg::OnInitDialog()
|
|||||||
rect.right += 30;
|
rect.right += 30;
|
||||||
MoveWindow(rect);
|
MoveWindow(rect);
|
||||||
//----------------------------------------|
|
//----------------------------------------|
|
||||||
ListenPort();//监听端口
|
ListenPort(); // 监听端口
|
||||||
Test();
|
Test();
|
||||||
isTrue = 0;
|
isTrue = 0;
|
||||||
return TRUE; // 除非将焦点设置到控件,否则返回 TRUE
|
return TRUE; // 除非将焦点设置到控件,否则返回 TRUE
|
||||||
|
@ -467,10 +467,12 @@ bool CIOCPServer::InitializeIOCP(void)
|
|||||||
// we need an overlapped file handle.
|
// we need an overlapped file handle.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
s = socket(AF_INET, SOCK_STREAM, IPPROTO_IP);
|
s = socket(AF_INET, SOCK_STREAM, IPPROTO_IP);
|
||||||
if ( s == INVALID_SOCKET )
|
if ( s == INVALID_SOCKET )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
// 使用完成端口之前,要调用CreateIoCompletionPort函数先创建完成端口对象。
|
||||||
// Create the completion port that will be used by all the worker
|
// Create the completion port that will be used by all the worker
|
||||||
// threads.
|
// threads.
|
||||||
m_hCompletionPort = CreateIoCompletionPort( (HANDLE)s, NULL, 0, 0 );
|
m_hCompletionPort = CreateIoCompletionPort( (HANDLE)s, NULL, 0, 0 );
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user