I forgot that I had found this awhile back too:
http://www.jsoftware.com/wsvn/addons/trunk/general/pcall/clr.ijs

This looks like a nice approach that doesn't require the C dll shim that I
wrote up

I just tested on j64-602 and it works. It's not available in PAL for j802
and I didn't try running it.


On Fri, Aug 8, 2014 at 9:18 AM, Raul Miller <[email protected]> wrote:

> Thank you, that looks promising.
>
> I think we should be able to build something using System.Reflection.Emit,
> to build new .Net calls dynamically.
>
> First draft should probably limit itself to string data types.
>
> As an aside, my interest was sparked by the mscorlib implementation of md5,
> and frustration with the performance of J's misc/convert md5. But this .Net
> project looks big enough that I'm probably going to instead go with a
> custom C routine for md5 (which worked just fine on Linux - I know Windows
> is much more baroque... I guess I should call that "job creation" or
> something - though personally I think we'd be better served with jobs with
> a more practical focus... but, anyways, I'll figure it out).
>
> Thanks,
>
> --
> Raul
>
>
> On Fri, Aug 8, 2014 at 7:08 AM, Joe Bogner <[email protected]> wrote:
>
> > Hi Raul, I wrote up a basic wiki article that explains how to do it:
> > http://www.jsoftware.com/jwiki/JoeBogner/CallingNET
> >
> >
> >
> >
> > On Fri, Aug 8, 2014 at 1:06 AM, Raul Miller <[email protected]>
> wrote:
> >
> > > Does anyone know how to call .Net methods from a windows implementation
> > of
> > > J, using the 15!: interface?
> > >
> > > Thanks,
> > >
> > > --
> > > Raul
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> 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