Hi John,

Please keep us posted. I am interested on this too.

I've called .NET DLL from a VB6 OLE/COM interface but you really had to jump 
through some hoops like making sure that the .NET class is in the GAC and 
making the compiler build a COM interface during compile time.

When it worked, I didn't pursue it anymore since it was a one-time project just 
to fix something until the whole module was replaced with C#.

Thanks.

r/Alex

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of John Baker
Sent: Monday, February 15, 2010 12:38 AM
To: Programming forum
Subject: Re: [Jprogramming] Calling managed .Net code from J

Thanks Oleg.  I will keep folks posted on how this goes.

On Sat, Feb 13, 2010 at 7:31 AM, Oleg Kobchenko <[email protected]> wrote:

> > From: John Baker <[email protected]>
>
> >
> > Using the COM interface it is easy to call J from managed code.  Now I am
> > interested in going the other way.
> >
> > Has anyone managed to call a .Net class from a J session.  I know this
> can
> > be done but before I spend the time
> > figuring it out for myself I thought I would ask if any brave J'uggler
> out
> > there has been done this path.
>
> Not tried. But it should possible by Hosting CLR (.NET Runtime),
> which is similar to hosting Java JVM
>     http://www.jsoftware.com/jwiki/Interfaces/Calling%20Java
>
> Some resources:
>
> Hosting the Common Language Runtime - MSDN
> http://msdn.microsoft.com/en-us/library/aa720129%28VS.71%29.aspx
>
> CLR Hosting APIs - MSDN Magazine, Aug 2006
> http://msdn.microsoft.com/en-us/magazine/cc163567.aspx
>
> Microsoft .NET: Implement a Custom Common Language Runtime Host
> http://msdn.microsoft.com/en-us/magazine/cc301479.aspx
>
> CLR Hosting
> http://community.bartdesmet.net/blogs/bart/archive/2005/07/17/2687.aspx
>
> CLR Hosting Samples
> http://pwlodek.blogspot.com/2008/11/clr-hosting-samples.html
>
> Good luck. This should be exciting.
>
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
John D. Baker
[email protected]
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to