In the attachment is the idl from which i generated the c-server.
Running the server in debug, there are 2 calls in DEMTA2LV.
The first with flag ERX_DYN_VERSION set
The second with flag ERX_DYN_INFO set
both return a success but thats it
There isn’t a call with the flag ERX_DYN_CALLING
ERXeReturnCode ERX_CALL_DECLARATION DEMTA2LV
(
ERX_CALL_INFORMATION_BLOCK ERXPTR *pCallInfoBlock,
const ERX_DYN_FLAG Flag,
S_EMTA2LV *pParm,
#ifdef _WINDOWS
HINSTANCE sHandle
#elif _HPUX_SOURCE
shl_t sHandle
#elif defined(__IBMC__) && defined(__MVS__)
dllhandle *sHandle
#else
void *sHandle
#endif
)
{ /* Deliver EntireX RPC stub version */
if (Flag == ERX_DYN_VERSION)
{
short *pVersion;
pVersion = (short *) pParm;
*pVersion = 3;
return(ERX_S_SUCCESS);
}
/* Deliver EntireX RPC parameter description */
if (Flag == ERX_DYN_INFO)
{
if (pCallInfoBlock->uParameterCount < 381)
{
pCallInfoBlock->uParameterCount = 381;
return(ERX_E_RPC_STUB_DYN_PARM_OVERFLOW);
}
pCallInfoBlock->uParameterCount = 381;
memcpy( pCallInfoBlock->pParmDef, PD_EMTA2LV, sizeof(PD_EMTA2LV));
return(ERX_S_SUCCESS);
}
/* Invoke customer function */
if (Flag == ERX_DYN_CALLING)
{
If you need the sources from the dll, maybe there is another way to send them to you or can I attach more than 1 file to 1 post?
emta2lv_not_work.idl (14.9 KB)
#Mainframe-Integration#EntireX#webMethods