On Tue, Jul 7, 2009 at 9:27 PM, Jimmie Houchin<
jlhouchin@...> wrote:
> I am writing an app which requires interfacing with a commercial COM
> library? I haven't gotten to that part of my Scala education yet. But since
> it is mentioned here. How does one from Scala interface and use a COM dll?
> I just figured I would possibly or probably have use .NET and an interop to
> interface the COM dll. If I could do it directly without .NET, that would be
> even better.
If the COM object supports IDispatch ("OLE Automation") you may use
Eclipse SWT to access it. Resulting code is quite verbose but it does
work well. Back in the times I wrote a wrapper generator, which could
generate Java wrapper classes for easy access from the metadata
retrieved with SWT from the OLE Automation metadata.
--
Johannes
-----------------------------------------------
Johannes Rudolph
http://virtual-void.net