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

Home » Public Forums » archive » Two Questions
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
Two Questions [message #4824] Tue, 08 August 1995 00:00 Go to next message
mbrown is currently offline  mbrown
Messages: 15
Registered: August 1995
Junior Member
Hi. I have two questions (that were not answered in the FAQ):

1. How do I declare global variables in IDL. I am used to writing in C and other such languages. Am I missing something, or shoul

2. How do I write programs in IDL using entities similar to C header files? I'd like to do things with some structure (not everyth

Myron.
Re: Two questions [message #33294 is a reply to message #4824] Mon, 16 December 2002 14:24 Go to previous messageGo to next message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Pavel A. Romashkin" <pavel_romashkin@hotmail.com> wrote

> Evgeny Turchin wrote:
>>
>> Question #2.
>> What IDL functions and procedures does one need to write a keyboard
handler
>> which could handle events from
>> function keys and key combinations ? The keyboard handler is supposed
to be
>> used in program with widget interface under
>> MS Windows ?
>
> Take a look here:
>
http://groups.google.com/groups?hl=en&lr=&ie=ISO-885 9-1&q=text+widget+trick&
btnG=Google+Search&meta=group%3Dcomp.lang.idl-pvwave
> HTH,
> Pavel


Better yet, take a look here:

http://www.acoustics.washington.edu/~towler/

(the trailing slash is *required*)

download the directInput.dlm package which is the successor to winInput.dlm
referenced above by Pavel. This dlm is based on directX, is windows only,
and provides an interface to poll keyboard, joystick and mouse states. I
say poll, you still need to run this in a timer loop. It doesn't buffer
input either so the event loop needs to be relatively quick. Usually this
isn't a problem. I provide a simple example.

Also, 5.6 has some new keyboard events for draw widgets which may or may not
work for you.

-Rick
Re: Two questions [message #34586 is a reply to message #4824] Tue, 01 April 2003 06:18 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Evgeny Turchin wrote:
> Hello, All !
> 1. Is it possible to call in IDL under Windows .exe files compiled in Delphi
> using CALL_EXTERNAL or some other ways ? Are there any ways to call .exe
> files from IDL using OS commands ?
Please have a look at spawn

?spawn at the idl prompt

> Any ways to call Delphi programs from IDL under Windows?
> 2. Are there any ways of speeding up the execution of IDL program using
> options of IDLDE ? How can one optimize a .sav file in order to increase the
> speed of its execution using options of compiling or other methods?


speed depends mostly on programmers knowledge so please give an example


regards

Reimar


> Thanks in advance.
> Best regards, Evgeny Turchin.
>
>
>
>


--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
============================================================ =======
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Two questions
Next Topic: Complex Rebin

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

Current Time: Thu Oct 09 10:07:20 PDT 2025

Total time taken to generate the page: 0.96369 seconds