📄 unit2.cpp
字号:
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Unit2.h"
#include "Des.h"
#include "Unit1.h"
#include <windows.h>
#pragma package(smart_init)
extern char * FileIn;
extern HANDLE completeEvent;
__fastcall EncryptThread::EncryptThread(bool CreateSuspended)
: TThread(CreateSuspended)
{
}
//---------------------------------------------------------------------------
void __fastcall EncryptThread::Execute()
{
//---- Place thread code here ----
DES_Start(ENCRYPT,FileIn);
SetEvent(completeEvent);
}
//---------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -