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

Home » Public Forums » archive » Re: ERROR_MOD_NOT_FOUND when using 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
Re: ERROR_MOD_NOT_FOUND when using call_external [message #37340 is a reply to message #37322] Tue, 09 December 2003 08:44 Go to previous messageGo to previous message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
"Brian" <brian.huether@NOdlrSPAM.de> wrote in message
news:e648955426f3d43b5606a3f898bc6d98@news.teranews.com...
> I got the fftw binary from www.fftw.org and am trying to call it from IDL.
I
> have searched the forum and have found little info about this error.
>
> Here is how I am calling it:
>
> array = call_external('fftw3.dll', 'fftw_malloc', 32, /CDECL)
>
> My path is set up so that IDL knows where the dll is. I also get the error
> without /CDECL. I have also tried prepending the function name with an
> undeline as someone in another post that I came across had suggested.
>
> At this point I have no clue what to do. I don't have the means nor the
> skills to recompile dlls such that they work properly with IDL. I am
hoping
> this works out of the box.
>
> Any ideas?

I downloaded the binary DLL file, put it in my bin/bin.x86 directory and the
call_external invocation you listed above works - array gets set to a LONG
value (a pointer, I guess).

So, I'm thinking that the problem lies in telling IDL where the dll is. If
you tell us how you are trying to specify the location of the DLL, maybe we
can help further. Or just drop the DLL into your distribution bin/bin.x86
directory and get on with it if that isn't too distasteful to you

Karl
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Do I need a DLM Wrapper for this?
Next Topic: Windows XP memory limitation?

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

Current Time: Fri Oct 10 04:09:05 PDT 2025

Total time taken to generate the page: 0.00644 seconds