Path: utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!rice!cs.utexas.edu!wuarchive!rex!ukma!rutgers!cunixf.cc.columbia.edu!cunixb.cc.columbia.edu!wlj1 From: wlj1@cunixb.cc.columbia.edu (Wayne L Jebian) Newsgroups: comp.sys.mac.programmer Subject: Think C Objects in motion??? Message-ID: <1990Sep14.105646.23614@cunixf.cc.columbia.edu> Date: 14 Sep 90 10:56:46 GMT Sender: news@cunixf.cc.columbia.edu (The Daily News) Reply-To: wlj1@cunixb.cc.columbia.edu (Wayne L Jebian) Organization: Columbia University Lines: 19 Summary:Strange Behavior abounds. I've noticed some strange behavior from the TCL. Sometimes when I execute a toolbox call from within a method, I get the ubiquitous odd address error. This had me _REALLY CONFUSED_ until I tried putting the offending calls in other places: that is, in glue that put the trap calls outside the object's struct. Well, now my code doesn't break but I'm still confused. Is code (the methods) being moved around without updating the PC? I thought that the objects could be treated transparently as pointers - i.e. no locking required. The problem is not severe, but I like to avoid kludges whenever possible. Has anyone else experienced this, and if so, do you know why?? (c++)-- -Wayne Send Mail to: jtt@paradox.psych.columbia.edu