[PATCH] typelib importer: add creation of lazarus package
Original Reporter info from Mantis: ludob
-
Reporter name: Ludo Brands
Original Reporter info from Mantis: ludob
- Reporter name: Ludo Brands
Description:
Added the optional creation of a lazarus design/runtime package for the activex container.
Added full files in case diff doesn't work.
Fixes to typelib importer:
-avoid duplicate enum members (translated to const) (Office10\MSWORD.OLB)
-don't make TEventSink or TActiveXContainer descendants if interface does not descend from IDispatch (VBA6\VBE6EXT.OLB)
-add type declaration for coclass interface pointing to default interface
-fixed property setter for array properties
-added typecasting for byref interface event parameters
-typecasting workaround for pvarVal^ and pbstrVal^ "Can't take the address of constant expressions" error caused by var type mismatch OLEVariant <> Variant and POleStr<>WideString
-reverted to the use of OLEVariant. POLEVariant isn't automatable in trunk but PVariant isn't automatable in 2.6.0 neither.
-added byref VT_INT, VT_UINT, VT_DECIMAL event parameter support (Office10\MSWORD.OLB)
-replace the use of TOleEnum with LongWord. Definition in ActiveX (type TOleEnum = type LongWord;) prohibits casting of OleVariant to TOleEnum.(Office10\MSOUTL.OLB)
-disambiguate method name for INVOKE_PROPERTYPUT and INVOKE_PROPERTYPUTREF on same property (ado\msado25.tlb)
-postpone interface declaration until full declaration of ancestor class.
Mantis conversion info:
- Mantis ID: 21077
- OS: Windows
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 20157 (#6182f2d2)