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

Home » Public Forums » archive » How do I distribute a dll with my vm sav file?
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: How do I distribute a dll with my vm sav file? [message #60014 is a reply to message #59921] Wed, 23 April 2008 01:35 Go to previous messageGo to previous message
Allan Whiteford is currently offline  Allan Whiteford
Messages: 117
Registered: June 2006
Senior Member
Robbie wrote:
> I've found that putting DLMs in the IDL path or current working
> directory to occasionally work depending on the IDL version, OS, shell
> and environment variables. For example, I can't get a DLM to load from
> the IDL Workbench on OS X, yet it works fine using the idl command
> line.
>
> The only guaranteed way is to put the DLM and shared object in the
> same place as the idl executable binary.
>
> For example:
> C:\Program Files\ITT\IDL70\bin\bin.x86
> /Applications/itt/idl70/bin/bin.darwin.i386
> /usr/local/itt/idl70/bin/bin.linux.x86
>
> If you compiled it as 64 bit then you need to place them in the 64 bit
> directory and run 64 bit idl. For example:
> /usr/local/itt/idl70/bin/bin.linux.x86_64
>
> You must compile your module separately for each platform and
> architecture.
>
> If you are planning on distributing for windows then I would recommend
> writing a batch file or Windows Installer (WIX) to copy the DLM to the
> required location.
>
> I hope this helps. Please let me know if there is an easier way,
> because I'm going to be distributing a cross platform DLM soon as
> well.
>
> Robbie

Maybe it's not helpful but I use the IDL_DLM_PATH environment
variable/preference.

I've never done anything cross-platform with it though.

Copying files into a users IDL installation directory seems a but rude
and won't usually work on UNIX unless the person has root privileges.

Thanks,

Allan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: workbench7.0 trainings?
Next Topic: Using make_rt on a Mac

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

Current Time: Fri Oct 10 16:34:41 PDT 2025

Total time taken to generate the page: 0.47723 seconds