Re: [Jprogramming] DLL Lab

2014-07-09 Thread Joe Bogner
ook through that. My main motivation is to build an > > application that uses J as the backend and uses C#, or perhaps Python as > > the GUI frontend. > > Regards,Jon > > > > > Date: Wed, 9 Jul 2014 10:56:30 -0400 > > > From: joebog...@gmail.com > >

Re: [Jprogramming] DLL Lab

2014-07-09 Thread Steven Taylor
On 9 July 2014 17:34, Joe Bogner wrote: > https://github.com/borota/NetJ cool. I'll drop Greg a line about that. Certainly would be useful to drop the COM dependency earlier. It may even prove to be smarter to do J to J connections over http (with one of those being pinvoked via C#), rather

Re: [Jprogramming] DLL Lab

2014-07-09 Thread Steven Taylor
2014 10:56:30 -0400 > > From: joebog...@gmail.com > > To: programm...@jsoftware.com > > Subject: Re: [Jprogramming] DLL Lab > > > > For calling a dll, see > http://www.jsoftware.com/jwiki/JoeBogner/CallingDLL > > for some examples > > > > For the othe

Re: [Jprogramming] DLL Lab

2014-07-09 Thread Joe Bogner
> Regards,Jon > > > Date: Wed, 9 Jul 2014 10:56:30 -0400 > > From: joebog...@gmail.com > > To: programm...@jsoftware.com > > Subject: Re: [Jprogramming] DLL Lab > > > > For calling a dll, see > http://www.jsoftware.com/jwiki/JoeBogner/CallingDLL > &g

Re: [Jprogramming] DLL Lab

2014-07-09 Thread Jon Hough
> Subject: Re: [Jprogramming] DLL Lab > > For calling a dll, see http://www.jsoftware.com/jwiki/JoeBogner/CallingDLL > for some examples > > For the other direction, you will need to have the external program invoke > the j.dll and evaluate the script. See > http://www.jsoftwa

Re: [Jprogramming] DLL Lab

2014-07-09 Thread Joe Bogner
For calling a dll, see http://www.jsoftware.com/jwiki/JoeBogner/CallingDLL for some examples For the other direction, you will need to have the external program invoke the j.dll and evaluate the script. See http://www.jsoftware.com/help/user/calling_jdll.htm On Jul 9, 2014 4:55 AM, "Jon Hough" wr

Re: [Jprogramming] DLL Lab

2014-07-09 Thread Raul Miller
ry if my questions are really dumb. But for beginners the > documentation can be a little frustrating, especially since some of it > seems to be deprecated. > > > Date: Wed, 9 Jul 2014 13:32:54 +0100 > > From: tayl...@gmail.com > > To: programm...@jsoftware.com > > Su

Re: [Jprogramming] DLL Lab

2014-07-09 Thread David Lambert
n' 15!:0 '' world +-+ |0| +-+ */ void hi(void) { int puts(const char*); puts("world"); } Date: Wed, 9 Jul 2014 21:14:53 +0900 From: Jon Hough To: Subject: Re: [Jprogramming] DLL Lab Message-ID: Content-Type: text/plain; charset="utf-8" Thanks for re

Re: [Jprogramming] DLL Lab

2014-07-09 Thread Jon Hough
il.com > To: programm...@jsoftware.com > Subject: Re: [Jprogramming] DLL Lab > > Hi, > > I've got some F# / C# code that needs a little tidying up. It executes J > statements using JHS (JHS is a server wrapper for j.dll which runs > out-of-process over http). Let me know if

Re: [Jprogramming] DLL Lab

2014-07-09 Thread Steven Taylor
ty sure I read somehwere on the J wiki that it > is possible to build an executable file, so J does not need to be installed > on the computer. Can't find it now though. > > > > --- Original Message --- > > From: "Raul Miller" > Sent: July 9, 2014 8:38 PM

Re: [Jprogramming] DLL Lab

2014-07-09 Thread Raul Miller
. > > > > --- Original Message --- > > From: "Raul Miller" > Sent: July 9, 2014 8:38 PM > To: "Programming forum" > Subject: Re: [Jprogramming] DLL Lab > > I often use j6 just so I can run its labs. > > The .cpp suffix indicates a c++ file

Re: [Jprogramming] DLL Lab

2014-07-09 Thread Jon Hough
build an executable file, so J does not need to be installed on the computer. Can't find it now though. --- Original Message --- From: "Raul Miller" Sent: July 9, 2014 8:38 PM To: "Programming forum" Subject: Re: [Jprogramming] DLL Lab I often use j6 just so I can run i

Re: [Jprogramming] DLL Lab

2014-07-09 Thread Raul Miller
I often use j6 just so I can run its labs. The .cpp suffix indicates a c++ file - so you would use a c++ compiler to build that "dll". Note that at one point in history, .cpp would probably have indicated a "c pre processor" file. Then again, early versions of what became c++ were apparently writ

Re: [Jprogramming] DLL Lab

2014-07-09 Thread Dan Bron
Briefly: (a) The verb cd (aka 15!:0) (b) you typically wouldn't build a custom DLL, you'd load j.dll (the J engine/runtime) and I have it load your custom J script(s). There's more details to fill in in both cases, of course; I'll follow up later if I get the time. -Dan Please excuse typos; s

[Jprogramming] DLL Lab

2014-07-09 Thread Jon Hough
In J7/8 is it possible to build and use DLL files and call them from other programs (e.g. .NET programs etc)? I tried doing one of the DLL Labs in J7.01, and got blocked when the Lab tried to load a non-existent file: open '~system\examples\dllwrite\dlltest.cpp' Presumably this is left over fr