I updated the page with a link that explains how a string return value can be accessed. The method invoked by ExecuteInDefaultAppDomain must return an int, however that int can point to a buffer.
Some interesting ideas can be pursued: 1. Fetch data from external databases without using ODBC 2. Have J start up a C# / ASP.NET web server, with hooks back into J for processing 3. Anything available on .NET For #2, it be something along the lines of: a. J calls c dll which is a shim for a c# dll to start up web server in another thread, passes the address of the current J instance in the process [1] b. Upon a HTTP request, the c# dll pinvokes back to the c dll to do a JDo on the current J instance It might be interesting to try some day as an experiment. The only advantage I see over having C# call J directly would be that jconsole would still be available for evaluation, but there would be issues with thread safety. It's probably a question for another forum, but it would be useful to understand if J can be accessed from multiple threads if those threads only change local variables and read from global ones. [1] - https://gist.github.com/joebo/9e75317dd50e0c7c82f8, http://jsoftware.com/pipermail/source/2014-May/000577.html On Fri, Aug 8, 2014 at 7:31 AM, Joe Bogner <joebog...@gmail.com> wrote: > Yes, I compiled it on Visual Studio Express 2013 for desktop > > > On Fri, Aug 8, 2014 at 7:22 AM, bill lam <bbill....@gmail.com> wrote: > >> Can this kind of wrapper be compiled with vs express now? It needed a >> paid >> version of vs some years ago, IIRC. >> On Aug 8, 2014 7:08 PM, "Joe Bogner" <joebog...@gmail.com> 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 <rauldmil...@gmail.com> >> 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