I'm trying to use com4j to set up a simple Java app which can interact with the IDispatch
COM interface. Normally with com4j you would use the tlbimp.jar
tool to generate a com4j Java interface whose instances will proxy IDispatch. The com4j docs say:
Usually, the first step of using com4j is to generate Java type definitions from a COM type library. COM type libraries are often found in .ocx, .dll, .exe, and/or .tlb files. I still don't know how to locate type libraries for a given COM library other than guessing the file by using OleView.
Does anyone know where to look for a type library which defines IDispatch
?