« Return to Thread: [scala] F# code

[scala] Re: F# code

by Jimmie Houchin-5 :: Rate this Message:

Reply to Author | View in Thread

Miles Sabin wrote:
 > 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?

Cool, thanks.

I saw the reference to JACOB but don't remember a link. I may have
missed it. Thanks for the link. It looks like it should do exactly what
I want.

I hope to not have to live in this situation for long. I hope to be in a
position to migrate to a completely Java/Scala solution soon.

Thanks.

Jimmie

 « Return to Thread: [scala] F# code