On Thu, Nov 6, 2008 at 3:00 PM, Yuvaraj Athur Raghuvir <[EMAIL PROTECTED]> wrote: > 1) I miss the entire list of calls I can make to the JDLL (including > signature). Where can I find that? ( I have the COM version in jdll.h / > jexe.h in the ole sample)
Which calls do you think you are missing? Conceptually, you need a pair for startup/shutdown, you need a pair to set and read variables, you need one to execute sentences, and you might need a few others for debug purposes. Since startup seems to be handled for me automatically, the calls I use for these purposes are: .Quit() .SetB(,) .GetB(,) .Do() .Log() .Show() .ErrorTextB(,) But since I am not using C, my going into further details might be less than helpful. > 2) I want to push data into JDLL and retrieve the data back as and when I > want. Here I have a variety of JGet* calls. How do I know when to use what? > Further, is it necessary to have the Joutput callback set for such a use > case? I get non-zero results from Do, from GetB and from SetB when J is unhappy with what I have done (like, when it does not recognize the data I have passed). With these calls, J is getting the windows type information associated with the underlying data, and can interpret types at runtime. I am not sure how or if I would make these calls work under Linux, since gcc does not seem to provide a similar underlying facility. I think the alternative Get/Set calls are for people who want to deal with type information manually. That's not necessarily a bad thing, but that's not what I currently use. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
