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
problem with DLM using external DLL [message #91873] Tue, 08 September 2015 09:20 Go to previous message
markb77 is currently offline  markb77
Messages: 217
Registered: July 2006
Senior Member
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 09:10:28 PDT 2025

Total time taken to generate the page: 0.00395 seconds