⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 builder.cpp

📁 文件加密用的C++源代码
💻 CPP
字号:
// utility for creating the fileencryption utility executable.
#include "Files/SelfExtract.h"
#include <stdio.h>

int main()
{
	puts("\n\n===============================================================================");
	puts("Creating merged executable, please wait..\n");

#ifdef _DEBUG
	const char *bigExe = "..\\FileEnc\\Debug\\Utility.exe";
	const char *selfExe = "..\\SelfExtract\\Debug\\Utility.exe";
	const char *outFile = "..\\DebugFileEncryption.exe";
#else
	const char *bigExe = "..\\FileEnc\\Release\\Utility.exe";
	const char *selfExe = "..\\SelfExtract\\Release\\Utility.exe";
	const char *outFile = "..\\FileEncryption.exe";
#endif
	
	CopyFile(bigExe, outFile, false);
	GenLib::SelfExtract exeBuilder(outFile);
	exeBuilder.attachFile(selfExe);

	puts("All Done. you can run FileEncryption.exe");
	puts("===============================================================================\n\n");

//	WinExec(outFile, SW_SHOWNORMAL);
	return 0;
}

⌨️ 快捷键说明

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