I've called j.dll from C#, but that was years ago and I was using j602
(where you had to register j.dll as a COM server).
http://www.jsoftware.com/jwiki/Guides/J%20VB.NET?action=AttachFile&do=view&target=Session.cs.txt

My biggest frustration was error handling. In my implementation I only
got the error message, without context.  So I did not know what line
of code was experiencing the problem and I did not know what the data
was. And I had J doing file access (reading and parsing xml files)
which subjected me to a variety of runtime error conditions during
initialization.

I wound up only supporting two users and I had to do a full install of
J on their systems and duplicate enough of the C# code in J to be able
to work through installation issues (which included making sure they
had appropriate access to some directories on network drives).

The only thing C# had going for it in this context was that it it let
me use windows forms, which worked around an aversion to UI elements
that "look wrong".

-- 
Raul

On Mon, Mar 18, 2013 at 4:00 PM, Greg Borota <[email protected]> wrote:
> Has anybody used/created pinvoke C# signatures and used j.dll from .NET?
> If so, any feedback, how was that working?
> Also would there be interest in having pinvoke signatures someplace for
> others to use?
>
> For non-windows users out there, apologies.
> ----------------------------------------------------------------------
> 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