Commit Graph

5 Commits

Author SHA1 Message Date
marco
d49deb183b * importtl new parameter --ref-style that allows to set different styles for reference input param. (var, constref or const [ref])
A more complete solution for bugreport #30764. 
Changed importtl to getopts for param parsing

git-svn-id: trunk@38338 -
2018-02-25 14:52:51 +00:00
marco
d52ce0f6fb * fix from Ludo to optionally skip generation of "tag" records and associated
symbols. Mantis #23113

git-svn-id: trunk@22634 -
2012-10-13 11:27:20 +00:00
marco
6182f2d25d * Patch by Ludo:
- 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.

git-svn-id: trunk@20157 -
2012-01-23 14:16:03 +00:00
michael
8af2ce27ef * Patch by Ludo Brands to add support for ActiveX containers (bug 20991)
git-svn-id: trunk@19936 -
2011-12-31 15:41:59 +00:00
michael
48b314928b * importtl (type library import program) from Ludo Brands (bug 20958)
git-svn-id: trunk@19888 -
2011-12-26 16:37:38 +00:00