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

Home » Public Forums » archive » Re: AAARGH!!! IDL5.2 crashes with CALL_EXTERNAL
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: AAARGH!!! IDL5.2 crashes with CALL_EXTERNAL [message #24827] Thu, 26 April 2001 22:26
Randall Frank is currently offline  Randall Frank
Messages: 17
Registered: October 1999
Junior Member
Stefano,
EXTPROC_DEFINE will only work under Windows and only with
IDL 5.3 or higher (it is built on top of IDL_SysRtnGetCurrentName()
which first showed up in 5.3). I never got around to supporting
anything but Wintel. BTW, CALL_EXTERNAL worked fine with 5.2 under
Windows for me. Realize that CALL_EXTERNAL and EXTPROC_DEFINE are
very different beasts. More details would be needed to help...

FWIW.

StefanoM wrote:
>
> AAARGH!!! IDL 5.2 crashes every time I try to call a DLL subroutine with
> CALL_EXTERNAL.
> I've try to compile the examples given with the IDL distribution (both C and
> Fortran) without success.
> I've also try to use the DLM utility (idl_tools.dlm) written by Ronn Kling,
> that gives a direct access to the routines in a DLL (without having to deal
> with a wrapper routine) via the interface EXTPROC_DEFINE, but the result
> doesn't change: IDL crashes even when I try to access a system DLL.
> I'm drive to think that there is a bug in the version 5.2.
> Does anybody succeded to use CALL_EXTERNAL with this version of IDL?
>
> a desperate guy :-(
>
> bye
>
> Stefano

--
rjf.
Randy Frank | ASCI Visualization
Lawrence Livermore National Laboratory | rjfrank@llnl.gov
B451 Room 2039 L-561 | Voice: (925) 423-9399
Livermore, CA 94550 | Fax: (925) 423-8704
Re: AAARGH!!! IDL5.2 crashes with CALL_EXTERNAL [message #24828 is a reply to message #24827] Thu, 26 April 2001 20:42 Go to previous message
Mark Rivers is currently offline  Mark Rivers
Messages: 49
Registered: February 2000
Member
StefanoM wrote in message <9c9hqv$hbe$1@canarie.caspur.it>...
> AAARGH!!! IDL 5.2 crashes every time I try to call a DLL subroutine with
> CALL_EXTERNAL.
> I've try to compile the examples given with the IDL distribution (both C
and
> Fortran) without success.
> I've also try to use the DLM utility (idl_tools.dlm) written by Ronn Kling,
> that gives a direct access to the routines in a DLL (without having to deal
> with a wrapper routine) via the interface EXTPROC_DEFINE, but the result
> doesn't change: IDL crashes even when I try to access a system DLL.
> I'm drive to think that there is a bug in the version 5.2.
> Does anybody succeded to use CALL_EXTERNAL with this version of IDL?


Tell us a little more. What platform are you running on, what compiler,
etc.?

I certainly have used IDL 5.2 with CALL_EXTERNAL with no problems.

Mark
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Polar plots
Next Topic: Consensus on error handling with DLMs

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

Current Time: Wed Oct 08 14:32:47 PDT 2025

Total time taken to generate the page: 0.00510 seconds