Indeed, PInvoke doesn't go via the COM layer. examples\data\jdll.h is no longer in sync with the actual j.dll. Function names have changed, signatures, etc. I will be looking at jqt repo, thanks for pointing that out to me.
On Mon, Mar 18, 2013 at 6:44 PM, bill lam <[email protected]> wrote: > IIRC pinvoke does not use COM. Instead it calls the C interface > of a dll. > > there is an exmaple of calling j.dll in the folder > examples/dll/ in J602. > > More complete header file for j.dll and how to call it is > available in GPL j source. > > You may also find information in the jqt repos, in particular the > files jsvr.[h/cpp] and svr.[h/cpp]. > > The difficult part is calling .Net from J. I guess this is > impossible for C#. One needs mixed mode provided by vc++. > > Пн, 18 мар 2013, Greg Borota писал(а): > > 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 > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
