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

Home » Public Forums » archive » R: AAARGH!!! IDL5.2 crashes with CALL_EXTERNAL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
R: AAARGH!!! IDL5.2 crashes with CALL_EXTERNAL [message #24826] Thu, 26 April 2001 23:45 Go to previous message
StefanoM is currently offline  StefanoM
Messages: 5
Registered: April 2001
Junior Member
My PC is running WIN98 II (second edition) and the C and Fortran compiler
are that of Microsoft Develop Studio 4.0.
The problem seems to be not related to the compilers, since (as I wrote) I
get problems even calling a routine in a system library,
in fact I follow the example suggested by Ronn Kling to explain the DLM
utility "idl_tools.dlm":

print, EXTPROC_DEFINE("mysin","msvcrt.dll","sin","d(d)",/cdecl)

that should assign the function "sin" of the library "msvcrt.dll" to the IDL
function "mysin", the function should take a single argument as double and
return a double ... "d(d)". When I type the above command IDL seems to
accept the definition of the new function "mysin", but then when I try to
use "mysin" IDL crashes (idlde causes errors in IDL32.DLL and MFC42.DLL).
The same result is obtained compiling the SUM_ARRAY examples in the IDL
distrubution ...

There are a lot of useful Fortran libraries in the web, it is really sad
that I cannot use them with IDL !!!

have a nice day

Stefano

Mark Rivers <rivers@cars.uchicago.edu> wrote in message
kU5G6.354$E4.22251@uchinews...
>
> 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.
....
....
....
> 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
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Incrementing an Array
Next Topic: Re: Launching IDL App. From Icon

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

Current Time: Wed Oct 08 16:14:42 PDT 2025

Total time taken to generate the page: 0.00178 seconds