Ok, that makes sense. I don't have any experience with the J debugger so I can't comment on it. My gut is to replicate the the functionality in your program instead of calling the IDE. It seems the debugging core is implemented in the engine and the IDE controls it. On the surface, it looks like it would be less work to just load debug.ijs and wire up your own UI to it. I am only speculating though
http://www.jsoftware.com/help/user/lib_debug.htm On Feb 15, 2015 9:09 AM, "Raul Miller" <[email protected]> wrote: > I very much want the J IDE for the J side of things, for my initial > explorations. The reason is J debugging support. > > Meanwhile, the other program uses wxWidgets (and needs elevated > privileges for some reason - I think it's because of rendering, but > it's just using opengl so I'm actually not completely sure why... I > should look into that). > > I don't think I can integrate Qt and wxWidgets - both want to own the > top level of control for the program. So I just want some way for the > two to communicate with each other. So perhaps I am stuck with using > files... > > That said, if there's a way of using JHS with j.dll wired into another > program, that would work for me. > > Thanks, > > -- > Raul > > > On Sun, Feb 15, 2015 at 8:46 AM, Joe Bogner <[email protected]> wrote: > > Do you need the IDE or the ability to call J primitives and scripts on > the > > data? The IDE would be the REPL, the project manager and wd functions to > > build forms in QT. The latter would be the J engine > > > > I think it would be unusual to integrate the full IDE into another > program. > > You would probably need to start with the QT IDE source and make sure you > > are compliant with licensing > > > > To follow the more common case of integrating with the J engine, that > link > > is a good guide or there is an example at > > http://jsoftware.com/wsvn/addons/trunk/general/misc/jdll.ijs > > > > On Feb 15, 2015 8:20 AM, "Raul Miller" <[email protected]> wrote: > > > >> What's the best way to wire the J IDE into another program? > >> > >> In this particular case, I've got the source to the other program > >> (it's C++). I'm running on windows (windows 7), and I can run the > >> other program in visual studio express debug mode. It's got some > >> decent sized matrices (thousands of rows of geometrical data) which > >> I'd like to bring into J to manipulate an then toss back to the other > >> program (for it's user interface). > >> > >> Is there a way of using the mechanisms described at > >> http://www.jsoftware.com/help/user/calling_jdll.htm for this kind of > >> thing? Or do I need to resort to writing and reading files? > >> > >> 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
