Significant Change in Object Programming [message #76057] |
Thu, 12 May 2011 07:31 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Folks,
I have noticed one significant change in object programming
that may in fact be the source of some of my problems the
past couple of days.
It used to be that if you stayed away from modifying
the object lifecycle methods (INIT and CLEANUP) you
could make changes to other methods, recompile the object
code, and the changes would be immediately in effect.
For lifecycle methods, you need to do a session reset
and recreate your objects to put the changes into effect.
It appears to me now that the SetProperty and GetProperty
methods have been added the list of the "need a reset to
work" methods. I suppose this makes sense because of the
"automatic" way these methods get called, but it was a
surprise to me and a source of great confusion!
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|