|
|
|||
Home Products Downloads Registered users Support Prices Order Primary Subscription |
|
||
TaxpFactoryThe class factory for TaxpAddIn.
TaxpFactory = class(TAutoObjectFactory) public
constructor Create(ComServer: TComServerObject;
end;
AutoClass: TAutoClass; const ClassID: TGUID;
property AddInName: string read FAddInName;ASupportedApp: TaxpOfficeHostApp; const AAddInName, ADescription: string); property FilePath: string read FAddInPath; property SupportedApp: TaxpOfficeHostApp read FSupportedApp; property RegistryKey: string read GetRegKey; TaxpFactory is a descendant of TAutoObjectFactory. It implements all the specific subtleties of MS Office COM Add-in registering. When creating your add-ins, you must create an instance of this class and not TAutoObjectFactory. You create the instance by calling the TaxpFactory.Create constructor. Sample code:
initialization
TaxpFactory.Create(ComServer, TMySecondAddIn,
end.
Class_MySecondAddIn, ohaExcel, 'MySecondAddIn',
'This is my second COM add-in for MS Excel'); |
Developed forDelphi 5, 6, 7
[ Download it ] Immediate shipment
|