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

Home » Public Forums » archive » portabilty of programs written under IDL3.6.1 to IDL5.2
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: portabilty of programs written under IDL3.6.1 to IDL5.2 [message #14539 is a reply to message #14447] Tue, 09 March 1999 00:00 Go to previous messageGo to previous message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
Vekemans Bart wrote:
>
> Years ago our Institute purchased IDL3.6.1 and since then
> I am working on a program that simultaneously can control
> several hardware cards by means of CALL_EXTERNAL, which
> invokes functions of the DLL libraries delivered with
> the various cards. Until now I was using 16-bit DLLs, as
> this version of IDL is restricted to calls to 16-bit DLLs
> in Windows.
> Unfortunately, new cards are now delivered with 32-bit DLLs,
> and as such I cannot use the delivered libraries of these
> new cards. I have now the following question. Is my program
> portable from IDL3.6.1 to IDL5.2 or has the programming
> environment changed so much that I have to rewrite my
> whole program when I want to upgrade to IDL5.2 ?
> I want to try to find someone who experienced the same problems,
> and I would be very gratefull to her/him if she/he wants
> to share her/his experience about this problem.
>
> Waiting for someone to answer,
>
> greetings from Antwerpen (Belgium, Europe),
>
> Bart Vekemans

Bart -

Porting your programs shouldn't be much of a problem, though you
will have to change your WIDGET_BASE() calls for top-level bases,
as well as calls to XMANAGER, in your widget programs. RSI introduced
the /NO_BLOCK keyword which gives you back your command-line after
registering a widget, and this necessitates the above changes. Also,
RSI changed the behavior of modal widgets, and moved this /MODAL
keyword. The changes are minimal, but if you have a large collection
of widget programs it may take some time to update them. Be aware
that until you do most of your widget programs won't work.

Dave


--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2240
La Jolla, CA 92037
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: read_jpeg and write_jpeg for pv_wave.
Next Topic: device,decomposed=1 question

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

Current Time: Sat Oct 11 07:03:05 PDT 2025

Total time taken to generate the page: 1.04043 seconds