[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AAARGH!!! IDL5.2 crashes with CALL_EXTERNAL
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...
> AAARGH!!! IDL 5.2 crashes every time I try to call a DLL subroutine with
> 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 :-(
Randy Frank | ASCI Visualization
Lawrence Livermore National Laboratory | firstname.lastname@example.org
B451 Room 2039 L-561 | Voice: (925) 423-9399
Livermore, CA 94550 | Fax: (925) 423-8704