Hi there,
I'm using tcl as a scripting language in my project, which is a DLL (win32). It links with a library file to load tcl's dll at loadtime. But when I use this DLL from another program (runtime) it loads it fine, but on close, it freezes in the FreeLibrary() function. It only does this when i execute the following commands:
InChannel = Tcl_GetStdChannel(TCL_STDIN);
OutChannel = Tcl_GetStdChannel(TCL_STDOUT);
it closes fine without these commands. any ideas why this is? (sorry if this a stupid question, but i don't think i need to close the channels, do i?)
I'm using tcl as a scripting language in my project, which is a DLL (win32). It links with a library file to load tcl's dll at loadtime. But when I use this DLL from another program (runtime) it loads it fine, but on close, it freezes in the FreeLibrary() function. It only does this when i execute the following commands:
InChannel = Tcl_GetStdChannel(TCL_STDIN);
OutChannel = Tcl_GetStdChannel(TCL_STDOUT);
it closes fine without these commands. any ideas why this is? (sorry if this a stupid question, but i don't think i need to close the channels, do i?)