Michael,
this problem does not seem to exist anymore in the forthcoming 1.1 release ... in the 1.0.* releases it should work to use the xotcl::interp command (which pre-initializes xotcl in the child interp) instead:
package require XOTcl
xotcl::interp create Interp Interp eval {package require XOTcl} xotcl::interp delete Interp
Uwe
On Monday 15 September 2003 23:15, MichaelL@frogware.com wrote:
The following script produces a "Tcl_Release couldn't find reference for 0x..." message followed by an "abnormal program termination" when Tcl exits:
package require XOTcl set Interp [interp create] $Interp eval {package require XOTcl} interp delete $Interp
As you can see, XOTcl is being loaded once in the main interpreter and once in a sub-interpreter.
I'm running XOTcl 1.0.2 with Tcl 8.4.2 and 8.4.4 on Windows.