#AppMaker TCL Problem
19-Jul-93 11:43:17
Sb: #7129-#AppMaker TCL Problem
Fm: Spec Bowers 70731,3710
To: Tony Mann 72260,1404
Tony,
The problem that Burt had and that you are having is that CPlusLib must be in a
resident segment. It's not an AppMaker problem or a TCL problem or a compiler
problem. It's just that there are some libraries (CPlusLib and oopsDebug++,
possibly others) that must be resident. In Burt's case, and yours is apparently
exactly the same problem, the compiled TCL code was causing a segment load
which was moving memory. An object handle was dereferenced and pointed to
garbage after its memory was moved out from underneath it.
The simple cure is to move CPlusLib and oopsDebug++ to a segment that is
guaranteed to have been loaded already – e.g. the segment that has "main" or
that has CApplication or MacTraps, etc.
Spec