[comp.sys.mac.programmer] Don't use Window refCon's when porting to Think C Class Library

eacj@batcomputer.tn.cornell.edu (Julian Vrieslander) (08/29/89)

Now that we have objects to play with, there is no reason to use the
WindowRecord refCon field for storing data or pointers.  But if you are porting
old code onto the Think C 4.0 Class Library, you can get burned if your routines
write into the refCon.  The Class Library uses this field to store a link to the
owning CWindow object.  I don't think this is mentioned anywhere in the manual.
-- 
Julian Vrieslander 
Neurobiology & Behavior, W250 Mudd Hall, Cornell University, Ithaca NY 14853    
UUCP: {cmcl2,decvax,rochester,uw-beaver}!cornell!batcomputer!eacj
INTERNET: eacj@tcgould.tn.cornell.edu     BITNET: eacj@CRNLTHRY