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

Home » Public Forums » archive » URGENT: IDL_STRING variable in calling C from IDL when update from IDL5.4 to 5.6
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
URGENT: IDL_STRING variable in calling C from IDL when update from IDL5.4 to 5.6 [message #37019] Thu, 20 November 2003 23:07 Go to previous message
xje4e is currently offline  xje4e
Messages: 18
Registered: February 2002
Junior Member
Hi, there,

I am building program that calls C from IDL by DLM. In IDL, the
function passed only one parameter that is a string, such as
'test.txt'. In C, use argv[0]->value.str.s to read the string out.
In IDL 5.4, the program works well.

I updated IDL from 5.4 to 5.6, the program is dead. I debug the
program and found that when I use IDL5.4 to debug, the
argv[0]->value.str.s has the right input: 'test.txt'. However, when I
use IDL5.6 to debug, the argv[0]->value.str.s is NULL.

How can this happen? Is this a bug in IDL5.6 or RSI changed something
about the IDL_string strucure? I test the program in IDL6.0, the same
error happened.

Any help will be appreciated,

Jin
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem about allocate memory
Next Topic: Re: Truetype fonts

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

Current Time: Wed Oct 08 15:36:14 PDT 2025

Total time taken to generate the page: 0.00480 seconds