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

Home » Public Forums » archive » Re: Is there a way to detect if a program is running under IDL or the Virtual Machine?
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: Is there a way to detect if a program is running under IDL or the Virtual Machine? [message #37769] Wed, 28 January 2004 10:40 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Yip writes:

> Is there a way to detect if a program is running under full IDL or
> just the vitual machine? I tried the !version variable but it doesn't
> differentiate. I tried using execute hoping it would just fail under
> the VM, but instead it pops up a dialog. Hardware OpenGL doesn't work
> under the VM on Macs and Linux so I need to deal with that and hence I
> need to detect what a program is running under.

Try LMGR.

IDL> IF LMGR(/VM) THEN Print, 'Running on VM'

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: Array indexing problem
Next Topic: Resizing Oddity

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

Current Time: Wed Oct 08 15:22:53 PDT 2025

Total time taken to generate the page: 0.00482 seconds