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

Home » Public Forums » archive » IDL Virtual Machine
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
IDL Virtual Machine [message #40967] Mon, 20 September 2004 14:33 Go to next message
mannstein is currently offline  mannstein
Messages: 5
Registered: August 2004
Junior Member
Hello

is there any idea around, how to avoid, that the Virtual Machine
takes a license out from our license server without disconnecting the
machine from the net?

I tried it without success by setting the LM_LICENSE_FILE
to a dummy, but obviously the command idl -vm=... found a way to get
access to the license pool.

Hermann

--

!!!!! Please try to avoid .doc attachments !!!!!
------------------------------------------------------------ ----
Dr. Hermann Mannstein Hermann.Mannstein@dlr.de
DLR-Institut fuer Physik der Atmosphaere
Oberpfaffenhofen, D-82234 Wessling Germany
Fon +49-8153-28-2503, Fax +49-8153-28-1841
http://www.dlr.de/ipa/
------------------------------------------------------------ ----
Re: IDL Virtual Machine [message #41412 is a reply to message #40967] Mon, 25 October 2004 03:08 Go to previous messageGo to next message
sdj is currently offline  sdj
Messages: 20
Registered: November 2003
Junior Member
Dear All,

Thanks to everybody, your help has been greatly appreciated.

Regards,
Pepe

*************************************************
Pepe S. D. Juevara

- No debe cambiarse de caballo al cruzar el r�o -
*************************************************

> On Fri, 22 Oct 2004 09:21:44 -0700, Rick Towler wrote:
>
>> Pepe wrote:
>>
>>> I have a client server application which I am developing using IDL and
>>> C/C++. This application needs to be available to various end users
>>> which run on different systems (Linux, Windows, Unix, Mac).
>>> The question is: can the IDL Virtual Machine handle this for me or do
>>> I need to create a sav file for every different operating system ?
>>
>> You do need to create one .sav file and many .dlms (well one .dlm and
>> then .so and .dll and...). The libraries that your build when creating
>> .dlms (or libs for CALL_EXTERNAL) are platform specific so those need to
>> be built for every OS you'll be supporting.
>>
>>> If I make calls to C/C++ code via IDL, does the end user need to have
>>> a C/C++ compiler to handle the calls ?
>>
>> Not if you provide a pre-compiled library for their platform.
>
> If it's a simple C file or two to be linked to (or called externally), I
> have had success distributing the C file and using MAKE_DLL to compile it
> automatically (which of course only works if the target user actually has
> a compiler). If these conditions are met, it actually works fairly well.
> I've posted about it several times before; search for MAKE_DLL.
>
> JD
Re: IDL Virtual Machine [message #41417 is a reply to message #40967] Fri, 22 October 2004 14:04 Go to previous messageGo to next message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Fri, 22 Oct 2004 09:21:44 -0700, Rick Towler wrote:

> Pepe wrote:
>
>> I have a client server application which I am developing using IDL and
>> C/C++. This application needs to be available to various end users
>> which run on different systems (Linux, Windows, Unix, Mac).
>> The question is: can the IDL Virtual Machine handle this for me or do
>> I need to create a sav file for every different operating system ?
>
> You do need to create one .sav file and many .dlms (well one .dlm and
> then .so and .dll and...). The libraries that your build when creating
> .dlms (or libs for CALL_EXTERNAL) are platform specific so those need to
> be built for every OS you'll be supporting.
>
>> If I make calls to C/C++ code via IDL, does the end user need to have
>> a C/C++ compiler to handle the calls ?
>
> Not if you provide a pre-compiled library for their platform.

If it's a simple C file or two to be linked to (or called externally), I
have had success distributing the C file and using MAKE_DLL to compile it
automatically (which of course only works if the target user actually has
a compiler). If these conditions are met, it actually works fairly well.
I've posted about it several times before; search for MAKE_DLL.

JD
Re: IDL Virtual Machine [message #41420 is a reply to message #40967] Fri, 22 October 2004 09:21 Go to previous messageGo to next message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Pepe wrote:

> I have a client server application which I am developing using IDL and
> C/C++. This application needs to be available to various end users
> which run on different systems (Linux, Windows, Unix, Mac).
> The question is: can the IDL Virtual Machine handle this for me or do
> I need to create a sav file for every different operating system ?

You do need to create one .sav file and many .dlms (well one .dlm and
then .so and .dll and...). The libraries that your build when creating
.dlms (or libs for CALL_EXTERNAL) are platform specific so those need to
be built for every OS you'll be supporting.

> If I make calls to C/C++ code via IDL, does the end user need to have
> a C/C++ compiler to handle the calls ?

Not if you provide a pre-compiled library for their platform.

-Rick
Re: IDL Virtual Machine [message #41421 is a reply to message #40967] Fri, 22 October 2004 08:59 Go to previous messageGo to next message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
Pepe wrote:

> Dear All,
> I have a client server application which I am developing using IDL and
> C/C++. This application needs to be available to various end users
> which run on different systems (Linux, Windows, Unix, Mac).
> The question is: can the IDL Virtual Machine handle this for me or do
> I need to create a sav file for every different operating system ?
> If I make calls to C/C++ code via IDL, does the end user need to have
> a C/C++ compiler to handle the calls ?
> Sorry if this is a dumb question, but any help is really welcome.


No such thing as a dumb question.

I'm not sure if this answers your question, but look here...

http://tinyurl.com/59mom

Ben
Re: IDL Virtual Machine [message #62801 is a reply to message #40967] Sat, 04 October 2008 10:31 Go to previous message
Heinz Stege is currently offline  Heinz Stege
Messages: 189
Registered: January 2003
Senior Member
On Fri, 03 Oct 2008 18:50:32 +0200, manu wrote:

> Hello,
>
> I have a big application running on many platform. When a bug appears,
> it's possible to read the error message under Linux.
>
> But, in Windows IDL Virtual Machine, in case of bug, the application
> crashs sometimes without any message. Do you kwow if it is possible to
> trace an IDL application running on Windows XP Virtual Machine ?
>
> Thanks,
>
> Emmanuel.


You can handle the errors with the CATCH procedure. Place something
like the following into the beginning of your code:

catch,error_status
if error_status ne 0 then begin ; will be executed on error
msg=!error_state.msg ; IDL's error message
; you can print the error to the log file:
if !journal ge 1 then journal,'; '+msg
; or place an error message on the screen:
button=dialog_message(msg,title='IDL Virtual Machine',/error)
; or do anything else ...
endif

Good luck, Heinz
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: The usage of PS_END
Next Topic: Viewing a plot under bash?

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

Current Time: Sat Oct 11 08:45:29 PDT 2025

Total time taken to generate the page: 0.32050 seconds