?? cabinet.cpp
字號:
#include "Cabinet.hpp"
using namespace Cabinet;
void main(int argc, char **argv)
{
CMain i_Main;
i_Main.RunDemo();
}
void CMain::RunDemo()
{
// This is an ID which is written (invisible) into the CAB file
UINT u32_CabID = 12345;
// Store filetimes as UTC in CAB files while compression
BOOL b_StoreUtcTime = TRUE;
// TRUE -> If a filename has characters > 0x7F, encode it using UTF8
// FALSE -> Store ANSI filenames unchanged, read documentation!
BOOL b_EncodeUtf = TRUE;
// Change this to split the archive into multiple files (200000 --> CAB split size = 200kB)
// ATTENTION: In this case Parameter 1 of CreateFCIContext MUST contain "%d" or "%03u"...
UINT u32_SplitSize = 0x7FFFFFFF;
// FALSE = store in CAB file without compression
BOOL b_Compress = TRUE;
// TRUE -> don't write any file to disk, all files are passed in OnAfterCopyFile()
BOOL b_ExtractToMemory = FALSE;
// You can specify your own key for CAB encryption here (the longer the more secure, up to 72 characters or bytes)
// Set empty EncryptionKey ("") to get a CAB file without encryption
char* s8_EncryptionKey = "";
// char* s8_EncryptionKey = "AH%KJ/76?K逪謀\獰dghf7(ZTbjsf82iz<sx87qc5ba&m;-@^l#jeL9/)$D2@rTbZ<
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -