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

Home » Public Forums » archive » Re: IDL 5.5 call_external passing strings
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: IDL 5.5 call_external passing strings [message #27866 is a reply to message #27831] Mon, 05 November 2001 15:03 Go to previous message
mikef is currently offline  mikef
Messages: 9
Registered: May 1998
Junior Member
In article <3BE7178F.851EE28@facstaff.wisc.edu>,
Paul Probert <pprobert@facstaff.wisc.edu> wrote:
> Folks,
> Under IDL 5.5, if I call into my dll with call_external, passing a
> string
> into the C program as an IDL_STRING structure (as per the documentation,
> and which
> worked fine in 5.3) the pointer to the string, the "s" member of the
> structure,
> now points to invalid memory (address of 0x00000001 in my case), even
> though the slen
> member is right (21 bytes in my case). Is this a bug in 5.5, or what?
> Anybody else
> have this problem?
>
> Paul Probert
> University of Wisconsin


The problem is that RSI has once again redefined the IDL_STRING structure,
this time to increase the maximum length. Now it's using a 32 bit integer.
You will need to recompile your dll to use the external.h from IDL 5.5
--
--
Mike Fitzgibbon MRFitz@ns.arizona.edu
UofAz, LPL phone:(520)626-4791
Systems Programmer, Pr. fax: (520)621-6783
[Message index]
 
Read Message
Read Message
Previous Topic: IDL 5.5 help file
Next Topic: IDL Memory Leaks

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

Current Time: Sun Oct 12 10:46:48 PDT 2025

Total time taken to generate the page: 2.71827 seconds