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

Home » Public Forums » archive » Re: call_external (IDL5.5)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: call_external (IDL5.5) [message #29493 is a reply to message #29483] Mon, 25 February 2002 07:28 Go to previous messageGo to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
Mark Rivers wrote:
...

> There is one very important difference between CALL_EXTERNAL in IDL 5.5 and
> previous versions, which has to do with how IDL strings are passed. The
> following code is from "export.h" in IDL 5.5.
> ********************************************
> typedef int IDL_STRING_SLEN_T;
> #define IDL_STRING_MAX_SLEN 2147483647
>
>
> typedef struct { /* Define string descriptor */
> IDL_STRING_SLEN_T slen; /* Length of string, 0 for null */
> short stype; /* type of string, static or dynamic */
> char *s; /* Addr of string */
> } IDL_STRING;

Which points out he importance of using "#include export.h" to create
the typedef, rather than copying the typedef into your own code.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL books?
Next Topic: Re: Satellite orbit procedure

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

Current Time: Fri Oct 10 13:01:37 PDT 2025

Total time taken to generate the page: 0.80022 seconds