Juno-Windows-Class-Library icon indicating copy to clipboard operation
Juno-Windows-Class-Library copied to clipboard

[tlbimpd] type libraries that reference other type libraries

Open Numpsy opened this issue 14 years ago • 0 comments

Type libraries can reference other type libraries (e.g. function parameters can be types from other libraries). For example, the type library for Outlook references the type library for Office. At the moment, creating a .d file for Outlook and trying to compile will fail because it doesn't know about the Office types.

com.reflect has a getReferences() function that tlbimpd uses to add 'importlib' comments to the output .d file, but it would be useful if an actual reference could be added. Could possibly look at adding the ability to generate code for imported libraries automatically as well.

Numpsy avatar Jan 29 '12 20:01 Numpsy