unit2.cpp

来自「使用的是BCB5开发的一个简单的3DES的DEMO」· C++ 代码 · 共 27 行

CPP
27
字号
//---------------------------------------------------------------------------

#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 + =
减小字号Ctrl + -
显示快捷键?