呵呵,
没多少内容
你用的是什么版本的delphi?
如果有source可以看一看,
TObject = class
constructor Create;
procedure Free;
class function InitInstance(Instance: Pointer): TObject;
procedure CleanupInstance;
function ClassType: TClass;
class function ClassName: ShortString;
class function ClassNameIs(const Name: string): Boolean;
class function ClassParent: TClass;
class function ClassInfo: Pointer;
class function InstanceSize: Longint;
class function InheritsFrom(AClass: TClass): Boolean;
class function MethodAddress(const Name: ShortString): Pointer;
class function MethodName(Address: Pointer): ShortString;
function FieldAddress(const Name: ShortString): Pointer;
function GetInterface(const IID: TGUID;
out Obj): Boolean;
class function GetInterfaceEntry(const IID: TGUID): PInterfaceEntry;
class function GetInterfaceTable: PInterfaceTable;
function SafeCallException(ExceptObject: TObject;
ExceptAddr: Pointer): HResult;
virtual;
procedure AfterConstruction;
virtual;
procedure BeforeDestruction;
virtual;
procedure Dispatch(var Message);
virtual;
procedure DefaultHandler(var Message);
virtual;
class function NewInstance: TObject;
virtual;
procedure FreeInstance;
virtual;
destructor Destroy;
virtual;
end;
这次我真的要呼呼呼了~~~