|
Re: Problem addressing arrays from C routines running OSF [message #5654 is a reply to message #5653] |
Wed, 31 January 1996 00:00  |
rivers
Messages: 228 Registered: March 1991
|
Senior Member |
|
|
In article <310E41A5.547F@fys.ku.dk>, Stubbe Faurschou Hviid <stubbe@fys.ku.dk>
writes:
> I am writing a program which have to access some routines writen
> i C.
> ...
>
> This method of addressing an array works under Solaris, SGI Irix
> and Windows
> but not under OSF/1 on a DEC alpha workstation.
>
> I think that the problem is that IDL tries to send a 32 bit
> pointer, and the
> C program expects a 64 bit pointer ( a good way to create chaos
> :-) )
>
> Any suggestions on how to solve this problem?
I have been using external C routines on OSF/1 (a.k.a. Digital Unix) from IDL
with no problem. These routines access arrays in the same way you describe.
These same C routines also work fine with IDL under Solaris
and Irix. I don't seem to have any problem.
____________________________________________________________
Mark Rivers (312) 702-2279 (office)
CARS (312) 702-9951 (secretary)
Univ. of Chicago (312) 702-5454 (FAX)
5640 S. Ellis Ave. (708) 922-0499 (home)
Chicago, IL 60637 rivers@cars3.uchicago.edu (Internet)
|
|
|