资源简介
PE格式文件只要不修改文件头和文件中间的内容,只是在文件末尾添加数据,那么这个PE文件可以正常执行。本程序可将多个文件打为zip包,然后添加在exe程序结尾,再加上zip包长度和PACKAGE标志,程序运行可显示exe中添加的文件。
PE format files as long as it does not modify the contents of the file header and file middle, just to add data to the end of the file, then the PE file can be run properly.
This software can be playing multiple files as a zip package, and then add at the end of the exe program, plus the the zip packet length and PACKAGE flag, the program runs to display the files in the exe.

代码片段和文件信息
// Package.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “Package.h“
#include “PackageDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPackageApp
BEGIN_MESSAGE_MAP(CPackageApp CWinApp)
//{{AFX_MSG_MAP(CPackageApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPackageApp construction
CPackageApp::CPackageApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CPackageApp object
CPackageApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CPackageApp initialization
BOOL CPackageApp::InitInstance()
{
AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
CPackageDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-03-06 20:42 Package\
目录 0 2013-03-06 20:42 Package\Debug\
文件 245820 2013-03-06 20:36 Package\Debug\Package.exe
文件 36052 2013-03-06 20:16 Package\Package.aps
文件 1489 2013-03-06 20:42 Package\Package.clw
文件 2077 2013-03-05 14:00 Package\Package.cpp
文件 4550 2013-03-06 20:42 Package\Package.dsp
文件 537 2013-03-05 16:32 Package\Package.dsw
文件 1335 2013-03-05 14:00 Package\Package.h
文件 123904 2013-03-06 20:42 Package\Package.ncb
文件 55808 2013-03-06 20:42 Package\Package.opt
文件 2181 2013-03-06 20:42 Package\Package.plg
文件 6003 2013-03-06 20:16 Package\Package.rc
文件 26395 2013-03-06 20:42 Package\PackageDlg.cpp
文件 2511 2013-03-06 20:28 Package\PackageDlg.h
文件 3597 2013-03-05 14:00 Package\ReadMe.txt
目录 0 2013-03-06 20:42 Package\Release\
文件 81920 2013-03-06 20:42 Package\Release\Package.exe
目录 0 2013-03-06 19:48 Package\res\
文件 1078 2013-03-05 14:00 Package\res\Package.ico
文件 399 2013-03-05 14:00 Package\res\Package.rc2
文件 1007 2013-03-06 20:16 Package\resource.h
文件 209 2013-03-05 14:00 Package\StdAfx.cpp
文件 1077 2013-03-06 20:17 Package\StdAfx.h
文件 149343 2005-07-28 09:36 Package\unzip.cpp
文件 10118 2005-07-28 01:21 Package\unzip.h
文件 115697 2005-07-27 18:17 Package\zip.cpp
文件 10044 2005-07-28 01:09 Package\zip.h
- 上一篇:VC zip压缩解压程序
- 下一篇:冒泡排序 汇编语言
相关资源
- TSCC.exe
- 梯控模糊搜索.exe
- SPD博士V5.3.exe
- XE7UP1Kg13_Unis.exe
- Eeupdate.exe
- Zprotect专业版(无限制) 一机一码E
- Windows异步套接字网络编程
- VC 获得文件属性 获取文件的创建时
- 基于MVC模式的会员管理系统
- silicon lab公司的收音IC SI47XX全套开发工
- 读者写者问题(读者优先,写者优先
- MFC程序-碰撞的小球
- vc 柱形图 CBarChart
- 用vc 写的导线测量,针对刚学测绘的
- 用VC 编写的仿QQ聊天室程序源代码
- 栅栏填充算法源码(VC)
- 简单的房屋租赁系统
- .net网站服装销售系统(MVC)
- EXE 转换 BAT工具
-
ob
jectARX给Auto CAD加工具条 - blowfish的vc2008工程.rar
- 画图程序MFC/VC/VC CRectTracker 串行化
- capon波束形成算法-VC实现
- 读取串口数据并画实时曲线的VC 程序
- VC 游戏编程—附源代码
- IpHlpApi.h&IpHlpApi.lib
- vc 6.0开发的流程图编辑器
- 专门修改exe文件的资源
- VC 天空盒(skyBox)实现(附源代码)
- c MFC 画多边形
评论
共有 条评论