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

Home » Public Forums » archive » problem with DLM using external DLL
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: problem with DLM using external DLL [message #91892 is a reply to message #91873] Wed, 09 September 2015 04:14 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
I set my DLM Path in windows under Preferences->IDL->Paths under Select Path->DLM Path and it works for me.

On Tuesday, September 8, 2015 at 12:20:37 PM UTC-4, superchromix wrote:
> hi,
>
> I've created a DLM in which I make calls to other functions stored in other DLL files. Let's say that my dlm consists of the following files: MYDLM.DLM and MYDLM.DLL. Within MYDLM.DLL, there is a call to a function that resides within the SECOND.DLL library.
>
> I try to load my dlm with the following command:
>
> DLM_LOAD, 'C:\mypath\MYDLM.DLM'
>
> This fails with the following error:
>
> % DLM_LOAD: Error loading sharable executable.
> Symbol: IDL_Load, File = C:\mypath\MYDLM.dll
> The specified module could not be found.
> % Execution halted at: $MAIN$
>
> However, everything loads correctly and works fine IF I copy the file SECOND.DLL into the binary directory of IDL, meaning the same directory in which idl.exe resides.
>
> Why can't IDL find the SECOND.DLL, which is referenced in MYDLM.DLL? In this case SECOND.DLL is in the same path as MYDLM.DLL, i.e. 'C:\mypath\'.
>
> Adding C:\mypath\ to the IDL_DLM_PATH or to IDL_PATH does not help.
>
> Does anyone have a suggestion? Copying the SECOND.DLL file to the IDL root directory does not seem like a good solution.
>
> thanks
> Mark
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: lambda functions in IDL-python bridge
Next Topic: Low pass filter in spatial domain

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

Current Time: Wed Oct 08 11:42:57 PDT 2025

Total time taken to generate the page: 0.00380 seconds