Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: How do I di...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 7 Topic 5665 of 5734
Post > Topic >>

Re: How do I distribute a dll with my vm sav file?

by Vince Hradil <hradilv@[EMAIL PROTECTED] > Apr 23, 2008 at 07:32 AM

On Apr 23, 3:35 am, Allan Whiteford
<allan.rem...@[EMAIL PROTECTED]
> wrote:
> 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

This is all very interesting - I haven't tried it yet, but it seems
that I need to copy the .dlm file as well (have I told you I really
don't know what I'm doing).  I found this:
http://www.ittvis.com/services/techtip.asp?l=English&ttid=4142
which
is pretty nice.  Also, I think I need to RTFM.

Thanks everyone.
Vince




 7 Posts in Topic:
How do I distribute a dll with my vm sav file?
Vince Hradil <hradilv@  2008-04-22 15:39:00 
Re: How do I distribute a dll with my vm sav file?
David Fanning <news@[E  2008-04-22 20:13:20 
Re: How do I distribute a dll with my vm sav file?
Robbie <retsil@[EMAIL   2008-04-23 00:10:56 
Re: How do I distribute a dll with my vm sav file?
Allan Whiteford <allan  2008-04-23 09:35:59 
Re: How do I distribute a dll with my vm sav file?
Vince Hradil <hradilv@  2008-04-23 07:32:13 
Re: How do I distribute a dll with my vm sav file?
"mgalloy@[EMAIL PROT  2008-04-23 07:41:42 
Re: How do I distribute a dll with my vm sav file?
"mgalloy@[EMAIL PROT  2008-04-23 10:25:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 1:19:09 CDT 2008.