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

Home » Public Forums » archive » Distributing DLM with a SAV file and COM wrapper
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Distributing DLM with a SAV file and COM wrapper [message #93301] Thu, 09 June 2016 09:21
srobbins99 is currently offline  srobbins99
Messages: 1
Registered: June 2016
Junior Member
Hi,

We build and distribute three IDL programs. All use a custom DLM. [Environment is IDL 8.0.1 on Windows 7 64-bit]

Two of the programs are simple .SAV files. Experimentally, we discovered that placing the DLM and DLL next to the SAV file works, although that is not a documented practice that I could find. Moreover, "Robbie" indicates this will only "occasionally work depending on the IDL version, OS, shell and environment variables" -- see https://groups.google.com/d/msg/comp.lang.idl-pvwave/DtZK4m8 gnDY/sqpqg4xV7nwJ


The third program contains a COM wrapper. Naively placing the DLM/DLL in the same directory as the SAV file doesn't work in this case. It does work, of course, if I place the DLM/DLL somewhere in the IDL_DLM_PATH. But for isolation, I'd prefer not to have the DLM visible globally. Is there some way I can set the IDL_DLM_PATH specifically when the COM is instantiated? I'm aware there's an environment variable -- which is my last resort. But is there a way I can do it by placing a config file or something together with the SAV file?

Thanks,
-Steve
[Message index]
 
Read Message
Previous Topic: FG problem
Next Topic: fits_info.pro problem

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

Current Time: Wed Oct 08 15:37:28 PDT 2025

Total time taken to generate the page: 0.00407 seconds