« Return to Thread: [scala] F# code

Re: [scala] Re: F# code

by Miles Sabin :: Rate this Message:

Reply to Author | View in Thread

On Tue, Jul 7, 2009 at 8: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.

You could use a Java-COM bridge. JACOB,

  http://www.danadler.com/jacob/

is one that was mentioned earlier in the thread and there are many others.

It's a long time time since I looked at that sort of thing, but I
recall that the APIs were all very ugly and verbose. Is that still the
case? Would a generic COM wrapper written in Scala look any nicer than
one written in Java?

Cheers,


Miles

--
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

 « Return to Thread: [scala] F# code