comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: 5.0.3 -> 5.1 Remote Procedure Call troubles
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: 5.0.3 -> 5.1 Remote Procedure Call troubles [message #12334] Tue, 21 July 1998 00:00
steinhh is currently offline  steinhh
Messages: 260
Registered: June 1994
Senior Member
Earlier I wrote:

> Maybe it's just me....or has IDL done something funny with the
> idlrpc executable from version 5.0.3 to 5.1?

Well, as I more or less expected, someone from RSI saw the
posting and went forth to investigate (thanks!).

The fix to get IDL to read the IDL_STARTUP file when initializing
server mode is quite simple (I'm quoting the message from RSI
here):

> As for the IDL_STARTUP file not getting read, this is due to the
> way IDL callable works (which the rpc system is built on top of).
> The IDL rpc server calls IDL_Init() with the IDL_INIT_BACKGROUND
> flag which prevents IDL from calling the IDL_STARTUP file. To get
> around the problem you are seeing, you can use the rpc source code
> in the IDL distribution to build your own version of idlrpc. To
> do this just do the following:
>
> [] Copy the source code from IDL_DIR/external/rpc to
> a working directory.
> [] Replace IDL_INIT_BACKGROUND with 0 in the call to
> IDL_Init() in rpc_srvc.c
> [] Rebuild the server by entering make.
>
> IDL will now read the IDL_STARTUP file. We are looking into
> removing IDL_INIT_BACKGROUND from the IDL_Init() call for future
> releases of IDL.

And it works. Thanks again!

Regards,

Stein Vidar
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Would you help me out? data converting problem.
Next Topic: log axis again ...

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 11:31:23 PDT 2025

Total time taken to generate the page: 1.19543 seconds