IDL Virtual Machine [message #40967] |
Mon, 20 September 2004 14:33  |
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   |
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 #62801 is a reply to message #40967] |
Sat, 04 October 2008 10:31  |
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
|
|
|