M
maikee1978
Unregistered / Unconfirmed
GUEST, unregistred user!
在类的定义中
type
TForm1=class
......
TForm1=Class(TForm)
......
上面的定义是错误非法的,但在TLB接口定义中
type
IAutoTest = interface;//
IAutoTestDisp = dispinterface;
AutoTest = IAutoTest;
IAutoTest = interface(IDispatch)//
['{29C5A8F5-39B3-4CF3-9C5F-C1A0A9C0800D}']
end;
接口IAutoTest被定义了两次,这里该怎么理解的呢?第一次iAutoTest=Interface说明什么?第二次IAutoTest=Interface(IDispath)又说明的是什么?
type
TForm1=class
......
TForm1=Class(TForm)
......
上面的定义是错误非法的,但在TLB接口定义中
type
IAutoTest = interface;//
IAutoTestDisp = dispinterface;
AutoTest = IAutoTest;
IAutoTest = interface(IDispatch)//
['{29C5A8F5-39B3-4CF3-9C5F-C1A0A9C0800D}']
end;
接口IAutoTest被定义了两次,这里该怎么理解的呢?第一次iAutoTest=Interface说明什么?第二次IAutoTest=Interface(IDispath)又说明的是什么?