« Return to Thread: [scala] F# code

[scala] Re: F# code

by Jimmie Houchin-5 :: Rate this Message:

Reply to Author | View in Thread

<snip>
> You can't directly but it would be possible (as far as I know) to create
> a F# COM object and then use something like Jacob to call the COM object
> from Scala code.  But it'd be kind of a hack so I'd really think long
> and hard about the necessity to code part of the solution in F#.  If
> part of your solution is already coded in F#, then that might be a way
> for you to reuse the code but, as I said, I'd really have to give such a
> solution a lot of thought before I went that way.  And, of course, using
> COM ties you to Windows if that's a consideration.

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.

Thanks for any insight and wisdom.

Jimmie

 « Return to Thread: [scala] F# code