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

Home » Public Forums » archive » Re: problems with passing structures around in gui widgets
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: problems with passing structures around in gui widgets [message #40410 is a reply to message #40400] Thu, 05 August 2004 10:03 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
M. Katz writes:

> That's true unless the UVALUE is also a pointer. In which case you
> don't have to "check it back" when you're done with the event handler.
> I've found out the hard way that checking-out the state variable and
> checking it back later can lead to some nasty conflicts when you have
> event-driven code, multiple things going on at once, and significant
> subroutines called from the event handler.

Well, by making it a pointer I think you trade
errors in logic for errors in syntax. :-)

Cheers,

David

P.S. Let's just say I've written enough programs
with NO_COPYs to know the method works. :-)

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Launching Another App. from IDL
Next Topic: Re: Launching Another App. from IDL

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

Current Time: Sat Oct 11 05:14:05 PDT 2025

Total time taken to generate the page: 0.64158 seconds