Re: Using a tcl interpreter inside a DLL?



On 29 nov, 19:56, "thelf...@xxxxxxxxx" <thelf...@xxxxxxxxx> wrote:
On Nov 29, 12:43 pm, jmbussat <jmbus...@xxxxxxxxx> wrote:

<snip>


This is more appropriate for a modern Tcl Interpreter.

if (Tcl_Init(interp) != TCL_OK) {
fprintf(STDERR,
"Tcl_Init: %s",
Tcl_GetStringResult(interp));
return;
}

Out of curiousity; will it always be valid to get the result from an
interp if the Tcl_Init fails?

Mark
.