Delphi的一个公用函数库
{**********************************************
*** Name: PublicFunc;
*** Author: lyz 2004-3-17;
***
*** Function: 公共函数;
**********************************************}
unit PublicFunc;
interface
uses
Windows, Math , SysUtils, Classes ,ShlObj, ActiveX, ComObj, Registry, Db,
Controls, Dialogs, XmlDoc, XmlIntf;
type
{ TStream seek origins }
TFolderNo = (Desktop, StartMenu, Programs);
type
TCPUID = array[1..4] of Longint;
TVendor = array [0..11] of char;
TObjList=class (TList)
public
destructor Destroy; override;
procedure Clear; override;
procedure SaveToStream(stream: TStream); virtual;
procedure LoadFromStream(stream: TStream); virtual;
end;
var
_DecNum: Integer;
_RoundValue: Double;
_EquMinValue: Double;
_ZeroMinValue: Double;