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

Home » Public Forums » archive » Re: Run-time Question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Run-time Question [message #43463] Wed, 13 April 2005 13:26
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
> "David Fanning" <davidf@dfanning.com> wrote in message
> news:MPG.1cc5c9d5582d5eec9899bf@news.frii.com...
>> Folks,
>>
>> I have a run-time question.
>>
>> I have a run-time program that uses a DLL. I have the DLL
>> and DLM in IDL6.1/bin/bin.x86. No problem running on my
>> machine with the VM. Now we want to export it to a client
>> machine, where they can run it with the VM. Where are we
>> suppose to put the DLL and DLM files now?
>>
>> Thanks,
>>
>> David
>>
>> --
>> David Fanning, Ph.D.
>> Fanning Software Consulting, Inc.
>> Coyote's Guide to IDL Programming: http://www.dfanning.com/

I have installed sav files on client's computers, and just put the
dlls in the same folder with no problems (i.e "current directory".)
It worked so I didn't look into it any further.

Cheers,
bob
Re: Run-time Question [message #43464 is a reply to message #43463] Wed, 13 April 2005 13:18 Go to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"David Fanning" <davidf@dfanning.com> wrote in message
news:MPG.1cc5c9d5582d5eec9899bf@news.frii.com...
> Folks,
>
> I have a run-time question.
>
> I have a run-time program that uses a DLL. I have the DLL
> and DLM in IDL6.1/bin/bin.x86. No problem running on my
> machine with the VM. Now we want to export it to a client
> machine, where they can run it with the VM. Where are we
> suppose to put the DLL and DLM files now?
>
> Thanks,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
>
Re: Run-time Question [message #43475 is a reply to message #43464] Wed, 13 April 2005 04:05 Go to previous message
tbb0301 is currently offline  tbb0301
Messages: 5
Registered: June 2003
Junior Member
Well,


the lines certainly reads:

> SET IDL_DLM_PATH=%MY_DIST_DIR%\bin.x86;%IDL_DIR%\bin\bin.x86
> %IDL_DIR%\bin\bin.x86\idlrt.exe -vm %1

..sorry

Stephan


On Wed, 13 Apr 2005 tbb0301@mail.lrz-muenchen.de wrote:

> Hi,
>
> I put my DLM location (MY_DIST_DIR) in the batch file which starts the VM:
>
> ...
> SET IDL_DLM_PATH=%MY_DIST_DIR%\bin.x86;%IDL_DIR%\bin\bin.x86
> %IDL_DIR%\bin\bin.x86\idlde.exe %1
> ...
>
> Best regards
>
> Stephan
>
> On Tue, 12 Apr 2005, David Fanning wrote:
>
>> Folks,
>>
>> I have a run-time question.
>>
>> I have a run-time program that uses a DLL. I have the DLL
>> and DLM in IDL6.1/bin/bin.x86. No problem running on my
>> machine with the VM. Now we want to export it to a client
>> machine, where they can run it with the VM. Where are we
>> suppose to put the DLL and DLM files now?
>>
>> Thanks,
>>
>> David
>>
>> --
>> David Fanning, Ph.D.
>> Fanning Software Consulting, Inc.
>> Coyote's Guide to IDL Programming: http://www.dfanning.com/
>>
>
> ------------------------------------------------------------ ------------------
> Dr. Stephan Nekolla Telefon: (49) (0) 89 4140-2959
> http://www.nuk.med.tu-muenchen.de Fax: (49) (0) 89 4140-4938
> Klinik und Poliklinik fuer Nuklearmedizin E-Mail: s.nekolla@lrz.tu-muenchen.de
> Klinikum rechts der Isar der Technischen Universitaet Muenchen
> Ismaningerstr. 22 D-81675 Muenchen
> ------------------------------------------------------------ ------------------
>
>

------------------------------------------------------------ ------------------
Dr. Stephan Nekolla Telefon: (49) (0) 89 4140-2959
http://www.nuk.med.tu-muenchen.de Fax: (49) (0) 89 4140-4938
Klinik und Poliklinik fuer Nuklearmedizin E-Mail: s.nekolla@lrz.tu-muenchen.de
Klinikum rechts der Isar der Technischen Universitaet Muenchen
Ismaningerstr. 22 D-81675 Muenchen
------------------------------------------------------------ ------------------
Re: Run-time Question [message #43476 is a reply to message #43475] Wed, 13 April 2005 03:04 Go to previous message
tbb0301 is currently offline  tbb0301
Messages: 5
Registered: June 2003
Junior Member
Hi,

I put my DLM location (MY_DIST_DIR) in the batch file which starts the VM:

...
SET IDL_DLM_PATH=%MY_DIST_DIR%\bin.x86;%IDL_DIR%\bin\bin.x86
%IDL_DIR%\bin\bin.x86\idlde.exe %1
...

Best regards

Stephan

On Tue, 12 Apr 2005, David Fanning wrote:

> Folks,
>
> I have a run-time question.
>
> I have a run-time program that uses a DLL. I have the DLL
> and DLM in IDL6.1/bin/bin.x86. No problem running on my
> machine with the VM. Now we want to export it to a client
> machine, where they can run it with the VM. Where are we
> suppose to put the DLL and DLM files now?
>
> Thanks,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
>

------------------------------------------------------------ ------------------
Dr. Stephan Nekolla Telefon: (49) (0) 89 4140-2959
http://www.nuk.med.tu-muenchen.de Fax: (49) (0) 89 4140-4938
Klinik und Poliklinik fuer Nuklearmedizin E-Mail: s.nekolla@lrz.tu-muenchen.de
Klinikum rechts der Isar der Technischen Universitaet Muenchen
Ismaningerstr. 22 D-81675 Muenchen
------------------------------------------------------------ ------------------
Re: Run-time Question [message #43485 is a reply to message #43476] Tue, 12 April 2005 12:45 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Hey David,
Under Windows you can define the IDL_DLM_PATH environment variable in the
SYSTEM applet of the Control Panel. I have not tried this but I assume that
the VM accesses the IDL environment variables as well. Have you tried
setting this?

Cheers,
Haje


"David Fanning" <davidf@dfanning.com> wrote in message
news:MPG.1cc5c9d5582d5eec9899bf@news.frii.com...
> Folks,
>
> I have a run-time question.
>
> I have a run-time program that uses a DLL. I have the DLL
> and DLM in IDL6.1/bin/bin.x86. No problem running on my
> machine with the VM. Now we want to export it to a client
> machine, where they can run it with the VM. Where are we
> suppose to put the DLL and DLM files now?
>
> Thanks,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: Run-time Question [message #43487 is a reply to message #43485] Tue, 12 April 2005 12:31 Go to previous message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
David Fanning wrote:
> Benjamin Hornberger writes:
>
>
>> I think when you start a SAV file on the VM, the directory where the SAV
>> file resides is the current working directory. So, if you put the DLL
>> there, it should work.
>
>
> That's what I thought to, but according to the customer
> they have tried that and it didn't work. It's always
> possible that they only *think* they are telling me the
> truth, but I would like confirmation. Has anyone run a
> VM program with a DLL before?
>

Does the program change the working directory while running?

BTW, the directory IDL6.1/bin/bin.x86 also exists when you just install
the Virtual Machine. How about there?

Benjamin
Re: Run-time Question [message #43490 is a reply to message #43487] Tue, 12 April 2005 12:24 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Benjamin Hornberger writes:

> I think when you start a SAV file on the VM, the directory where the SAV
> file resides is the current working directory. So, if you put the DLL
> there, it should work.

That's what I thought to, but according to the customer
they have tried that and it didn't work. It's always
possible that they only *think* they are telling me the
truth, but I would like confirmation. Has anyone run a
VM program with a DLL before?

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: Run-time Question [message #43492 is a reply to message #43490] Tue, 12 April 2005 12:18 Go to previous message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
David Fanning wrote:
>
> I have a run-time program that uses a DLL. I have the DLL
> and DLM in IDL6.1/bin/bin.x86. No problem running on my
> machine with the VM. Now we want to export it to a client
> machine, where they can run it with the VM. Where are we
> suppose to put the DLL and DLM files now?
>

I think when you start a SAV file on the VM, the directory where the SAV
file resides is the current working directory. So, if you put the DLL
there, it should work.

Benjamin
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Session timeouts in IDL?
Next Topic: (OT) Web Hosting Special Offer.............

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

Current Time: Wed Oct 08 20:06:22 PDT 2025

Total time taken to generate the page: 0.00770 seconds