panickedkernel
Programmer
all,
Im calling Tcl_CreateCommand to associate a string with a c function in a program of mine. the string is NOT a string constant (its in an array), and the function pointer that im passing is obviously in scope of the call to Tcl_CreateCommand. Heres the wierd part. The string gets associated with the function correctly, as i can call Tcl_Eval with a pointer to the interpreter, and the string, and the correct function will execute... however, my call to Tcl_CreateCommand fails with TCL_ERROR. can anyone tell ym why this is happening? its frustrating the hell out of me.
thanks
--lou
Im calling Tcl_CreateCommand to associate a string with a c function in a program of mine. the string is NOT a string constant (its in an array), and the function pointer that im passing is obviously in scope of the call to Tcl_CreateCommand. Heres the wierd part. The string gets associated with the function correctly, as i can call Tcl_Eval with a pointer to the interpreter, and the string, and the correct function will execute... however, my call to Tcl_CreateCommand fails with TCL_ERROR. can anyone tell ym why this is happening? its frustrating the hell out of me.
thanks
--lou