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

Home » Public Forums » archive » Re: Upgraed to IDL 5.6, now having problem w/ linkimage
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: Upgraed to IDL 5.6, now having problem w/ linkimage [message #34447] Sat, 15 March 2003 12:02
K Banerjee is currently offline  K Banerjee
Messages: 14
Registered: September 2001
Junior Member
Hugh D. R. Evans <spam@hevans.xs4all.nl> wrote:
> Are you passing strings back and forth?

> From IDL 5.4 to IDL 5.5 they changed the maximum size of a string from 65534
> to 2^31-1. This means that the structure used to pass the string back and
> forth has a different sized stringlength field.

> Might be the problem.

> Regards,
> Hugh

I believe I have the solution. I just needed to recompile with
the new export.h header file. Thanks.


> "K Banerjee" <kbanerjee@ucwphilly.rr.com> wrote in message
> news:RSJca.137731$Se4.11702180@twister.southeast.rr.com...
>> Folks,
>>
>> We upgraded from IDL 5.3 to IDl 5.6 and use several functions
>> from a shared object file. We use LINKIMGAE to tell IDL about
>> the functions from the shared object file. With IDL 5.3, everything
>> worked. Now we are getting a core dump with IDL 5.6. Has LINKIMAGE
>> changed in any wat between 5.3 and 5.6?
>>
>> Thanks.
>>
>> K. Banerjee
Re: Upgraed to IDL 5.6, now having problem w/ linkimage [message #34448 is a reply to message #34447] Sat, 15 March 2003 10:15 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
K Banerjee (kbanerjee@ucwphilly.rr.com) writes:

> We upgraded from IDL 5.3 to IDl 5.6 and use several functions
> from a shared object file. We use LINKIMGAE to tell IDL about
> the functions from the shared object file. With IDL 5.3, everything
> worked. Now we are getting a core dump with IDL 5.6. Has LINKIMAGE
> changed in any wat between 5.3 and 5.6?

The definition of string length changed:

http://www.dfanning.com/misc_tips/callexternal55.html

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Upgraed to IDL 5.6, now having problem w/ linkimage [message #34449 is a reply to message #34448] Sat, 15 March 2003 10:12 Go to previous message
Hugh D. R. Evans is currently offline  Hugh D. R. Evans
Messages: 2
Registered: March 2003
Junior Member
Are you passing strings back and forth?

From IDL 5.4 to IDL 5.5 they changed the maximum size of a string from 65534
to 2^31-1. This means that the structure used to pass the string back and
forth has a different sized stringlength field.

Might be the problem.

Regards,
Hugh

"K Banerjee" <kbanerjee@ucwphilly.rr.com> wrote in message
news:RSJca.137731$Se4.11702180@twister.southeast.rr.com...
> Folks,
>
> We upgraded from IDL 5.3 to IDl 5.6 and use several functions
> from a shared object file. We use LINKIMGAE to tell IDL about
> the functions from the shared object file. With IDL 5.3, everything
> worked. Now we are getting a core dump with IDL 5.6. Has LINKIMAGE
> changed in any wat between 5.3 and 5.6?
>
> Thanks.
>
> K. Banerjee
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Upgraed to IDL 5.6, now having problem w/ linkimage
Next Topic: TIMEGEN problem, bug?

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

Current Time: Wed Oct 08 13:46:54 PDT 2025

Total time taken to generate the page: 0.00649 seconds