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

Home » Public Forums » archive » calling fortran subroutines in .dll from IDL
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
calling fortran subroutines in .dll from IDL [message #6752] Fri, 16 August 1996 00:00
vtr is currently offline  vtr
Messages: 1
Registered: August 1996
Junior Member
Hi,
I have problem with calling compiled FORTRAN subroutines to .dll
in IDL 4.01 (under Windows NT/95). These subroutines are called
using IDL routine CALL_EXTERNAL. For creation .dll library
I have used compiler MS-Fortran PowerStation 1.0 for NT and also newer
version 4.0 for NT/95. These compilers have possibilities to generate
.dll with various calling conventions (fortran,C,STDCALL...) and also
possibility to specify explicitly passing of parameters (value, reference).
Although this way generated subroutine in my .dll is possible to call
in IDL, parameters are passed always incorrectly. IDL also after calling
CALL_EXTERNALL often crashes (Dr. Watson is called). I have tried all
possible calling conventions and types of passing parameters but without
positive results. My .dll is possible to use by other compilers.
I would be very grateful for your advice (small example I would welcomed).
Thank you.
Best regards
Vladimir Truhlik
Institute of Atmospheric Physics
Bocni II.
141 31 Prague - 4, Sporilov
Czech Republic
tel.: (02) 67103058
E-mail: vtr@ufa.cas.cz
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Memory problems update.
Next Topic: Re: RGB from 3 grayscale images under IDL

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

Current Time: Fri Oct 10 03:09:42 PDT 2025

Total time taken to generate the page: 0.72282 seconds