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

Home » Public Forums » archive » importing .dll files
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
importing .dll files [message #68352] Mon, 19 October 2009 16:06
cgoethel is currently offline  cgoethel
Messages: 20
Registered: April 2008
Junior Member
Hello,

I have a dynamic linked library (created in Visual Fortran) and I am
trying to use the call_external procedure to use one of the
subroutines, however, I am unclear on the error messages I am getting.

IDL>dll_file_name=' C:\Program Files\Microsoft Visual Studio
\MyProjects\test\Debug\test.dll'
IDL> result=call_external(dll_file_name, 'aoc', r)
CALL_EXTERNAL: Error loading sharable executable.
Symbol: aoc, File = C:\Program Files\Microsoft Visual Studio\MyProjects
\test\Debug\test.dll
The specified procedure could not be found.

Does the above mean
1. it can't access/open/interpret the .dll file and hence can't find
the procedure
or
2. just can't find the procedure in the library

Do I need to register the .dll file or add the path name?

Thanks in advance for your help!

Cindy

PS - For what it's worth test.dll currently only contains one
procedure, 'aoc', which is a simple two line fortran subroutine which
takes a value 'r' (radius) and calculates the area of a circle.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Too bad IDLffDXF does not work
Next Topic: how2 read excel (XLS) file to IDL

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

Current Time: Thu Oct 09 14:48:43 PDT 2025

Total time taken to generate the page: 1.27781 seconds