Getting the DP (data pointer) of the current TAFC session when using pure C

More
4 years 9 months ago #22637 by igosm
Dear all

I am writing the C code calling C implementations of JBC functions (e.g. OCONV_BBBBB for OCONV)
For such cases the DP (data pointer of the type DPSTRUCT) should be initialized. When a JBC code is executed in jshell let say then the DP is initialized automatically (via the jmainfunction.obj I believe).

I've actually managed to initialize it using the TAFCSession class (from TAFCSession.h) or by calling the jbase_getdp() (from libTAFCfrmwrk.lib). But in both cases the new child TAFC session is created (and gets removed automatically after the code has been executed).

So I am wondering: is there a possibility to retrieve and use the current session DP somehow? So that no child TAFC session would get created

Any advice would be highly appreciated

Thanks in advance

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds