Your only choices are start from jsh/jbc call python, call jbc etc or start with python call jbc.
Either way the dp needs to be carried around. I can post an example of calling python (it needs jBASE 5). Sent from my iPhone > On Mar 9, 2020, at 10:36 AM, Igor Osmolovskiy <igos...@gmail.com> wrote: > > > Hello Dan > Right, but is there a possibility to avoid creating a new thread? > One option proposed by Peter is to launch Pyhton from JBC e.g. But any chance > to achieve this for pure Pyhton? > > понедельник, 9 марта 2020 г., 15:27:22 UTC+1 пользователь DanE написал: >> >> That would be because the jsh initiated the thread and the program running >> under it is a shared object /dll beneath that thread. >> >> >> >> >> Dan Ell | jBASE Technical Engineer >> jBASE International, Inc. >> 813-498-2544 | 866‑582‑8447 >> d...@jbase.com | www.jbase.com >> 1050 Calle Amanecer, Suite A | San Clemente, CA 92673 >> From: jb...@googlegroups.com <jb...@googlegroups.com> On Behalf Of Igor >> Osmolovskiy >> Sent: Monday, March 9, 2020 6:10 AM >> To: jBASE <jb...@googlegroups.com> >> Subject: Re: Getting the jBase DP (data pointer) of the current session when >> using pure C >> >> >> Thank you Peter >> >> >> >> But do you think it is still possible to retrieve a DP for an existing >> session? >> >> It can be seen that no new session is created when a JBC program is being >> called in jshell e.g. Therefore a DP initialization is happening somehow for >> that case >> >> Thanks >> >> >> суббота, 7 марта 2020 г., 1:13:48 UTC+1 пользователь pfalson написал: >> >> That creates a regular jBASE session dp. The null args are more for internal >> use. >> >> Sent from my iPhone >> >> > On Mar 6, 2020, at 2:56 PM, Igor Osmolovskiy <igo...@gmail.com> wrote: >> > >> > Peter, thanks for the code sample >> > >> > Could you please elaborate on what exactly the next line means >> > jbase_getdpEX(NULL,NULL,1,NULL) >> > >> > Thanks >> > Igor >> > >> > -- >> > -- >> > IMPORTANT: T24/Globus posts are no longer accepted on this forum. >> > >> > To post, send email to jb...@googlegroups.com >> > To unsubscribe, send email to jbase-un...@googlegroups.com >> > For more options, visit this group at >> > http://groups.google.com/group/jBASE?hl=en >> > >> > --- >> > You received this message because you are subscribed to the Google Groups >> > "jBASE" group. >> > To unsubscribe from this group and stop receiving emails from it, send an >> > email to jb...@googlegroups.com. >> > To view this discussion on the web visit >> > https://groups.google.com/d/msgid/jbase/050fac31-e1aa-46e0-99bd-59d6f8dcdea7%40googlegroups.com. >> >> -- >> -- >> IMPORTANT: T24/Globus posts are no longer accepted on this forum. >> >> To post, send email to jb...@googlegroups.com >> To unsubscribe, send email to jbase-un...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/jBASE?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "jBASE" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to jb...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jbase/3308135a-4d22-4124-88c0-d5b693d9ed2d%40googlegroups.com. >> > > -- > -- > IMPORTANT: T24/Globus posts are no longer accepted on this forum. > > To post, send email to jBASE@googlegroups.com > To unsubscribe, send email to jbase-unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/jBASE?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "jBASE" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jbase+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jbase/4d42aaec-5bed-4546-a748-4ccdc51a563e%40googlegroups.com. -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to jBASE@googlegroups.com To unsubscribe, send email to jbase-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to jbase+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jbase/70861CBC-AA46-4B2F-A6AC-147448AC770D%40gmail.com.