Delphi

delphi SendEMail 邮件发送单元
Delphi

delphi SendEMail 邮件发送单元

43 0

感谢网友分享qq风华(1393774265) unit SendEMailLib;interfaceuses Winapi.Windows, System.SysUtils, IdMessage, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdExplicitTLSClientServerBase, IdMessageClient, IdSMTPBase, IdSMTP, IdAttachmentFi

Delphi

Delphi Base32 的加密和解密

68 0

const ValidChars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567'; // Base32解码function Base32Decode(const source: string): string;var UpperSource: string; p, i, l, n, j: Integer;begin UpperSource := UpperCase(source); l := Length(source); n := 0; j :

Delphi

Delphi 下找到目录中的所有文件夹

45 0

uses ioutils, Types //获取指定目录下的文件与子目录procedure TForm1.Button1Click(Sender: TObject);var dfs: TStringDynArray; str: string;begin dfs := TDirectory.GetFileSystemEntries(path); Memo1.Clear; for str in dfs do Memo1.Lines.Add(str);end;

Delphi

Delphi 中的哈希表: THashedStringList

49 0

unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TForm1 = class(TForm) Button1: TButton; Button2: TButton; procedure Button1Click(Sender: TObject); procedure FormCre

Delphi

Delphi复制文件夹内所有文件

114 0

function DoCopyDir(sDirName: string; sToDirName: string): Boolean;var hFindFile: Cardinal; t, tfile: string; sCurDir: string[255]; FindFileData: WIN32_FIND_DATA;begin//记录当前目录 sCurDir := GetCurrentDir; ChDir(sDirName); hFindFile := FindFirstFile(&#

Delphi

delphi拷贝整个目录(包括子目录)

41 0

function CopyDirAll(sDirName:String;sToDirName:String):Boolean;var hFindFile:Cardinal; //拷贝整个目录(包括子目录) t,tfile:String; sCurDir:String[255]; FindFileData:WIN32_FIND_DATA; begin //先保存当前目录 sCurDir:=GetCurrentDir; ChDir(sDirName); hFin

Delphi

delphi IDHTTP读取网页重定向

122 0

unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, StdCtrls, IdIntercept;type TForm1 = class(TForm) Button1: TButton;