function CreateOleObject(const ClassName: string): IDispatch;
Instantiates an Automation object.
CreateOleObject returns a reference to the interface
Instantiates an Automation object.
CreateOleObject returns a reference to the interface
你说的明确的excel形态,没这东西,函数返回的是一个接口。
请问 用 IDispatch 会不会严重影响性能 是否可以 Import Type Library 来达到 直接呼叫物件的属性和方法 就像 Edit1 打入 . 后, 右边会出现一个小视窗, 列出所有可用的属性和方法