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

Home » Public Forums » archive » Problem Accessing Shared Objects
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: Problem Accessing Shared Objects [message #58066 is a reply to message #58003] Fri, 11 January 2008 01:19 Go to previous messageGo to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
David Fanning wrote:

> David Fanning writes:
>
>> I had an occasion today to access a shared object library
>> on a UNIX machine. This worked correctly in IDL 6.3, but
>> completely crashed IDL 7 when I tried to access it today.
>>
>> I've looked on my web page, and in the IDL newsgroup
>> archives for information, but have completely struck out.
>> And yet, I vaguely recall something about some kind of
>> header file in IDL changing in the transition from IDL 6.3
>> to 6.4, and need for re-compiling, etc. It's just not
>> coming in clearly.
>>
>> We have tried re-compiling the SO, but we haven't yet
>> been successful in not crashing IDL. Am I dreaming, or
>> does someone else remember something about this?
>
> This turned out to be (who would have guessed!?) a
> programming error. And for years we have been lucky,
> I guess.
>
> Anyhow, in case anyone is following this, we weren't
> using the built-in IDL string handling functions.
> In our case, we had to change this code:
>
> gcs->gpd_filename.s = grid->gpd_filename;
> gcs->gpd_filename.slen = strlen(grid->gpd_filename);

From my dim and hazy memory, wasn't that the IDL 5 way of doing things? In IDL 5
you had to mess with the contents of the IDL_STRING structure directly.

I'm just off to check my old code to see if I still have any of those constructs
left...

--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Windows/Linux reading binary data - sign problem
Next Topic: ESRI GRID in IDL

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

Current Time: Sat Oct 11 10:26:04 PDT 2025

Total time taken to generate the page: 1.75919 seconds