向上帝打申请了,下辈子再也不做程序员!! 上帝批复:OK!

随笔分类 -  Delphi文件操作

摘要:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Memo1: TMemo; procedure Button1Cli... 阅读全文
posted @ 2009-03-17 16:07 zywuhao 阅读(429) 评论(0) 推荐(0)
摘要:{函数} function ReadFileToHex(FileName: string): string; var b: Byte; begin Result := ''; if not FileExists(FileName) then Exit; with TMemoryStream.Create do begin LoadFromFile(FileName); ... 阅读全文
posted @ 2009-03-17 16:03 zywuhao 阅读(295) 评论(0) 推荐(0)