Artifacts Associated With Ticket 590674ffffffffffffffffffffffffffffffffff
Ticket change [3bc14708bc] (rid 112798) by nobody on 2002-08-04 03:50:49:
- assignee initialized to: "vincentdarley"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Using tcl C interface in win32 (not using wish) During Tcl_Init(), crash on uninitialized pointer: tclWinProcs->getFileAttributesExProc, in tclWin32Dll.c This happens because TclWinSetInterfaces() is never called to initialize the pointer (if you don't use Tcl_Main ()). I find I can work around this by first calling Tcl_FindExecutable() before I do Tcl_CreateInterp(). This does get down to TclWinSetInterfaces() and the pointer is set. Otherwise, a programmer using the C interface to replace Tcl_Main() will crash.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "37. File System"
- title initialized to: "un-init ptr, file attrs, tclWin32Dll"
- type initialized to: "Bug"
Ticket change [fe36ae8926] (rid 108542) by nobody on 2002-08-04 10:52:08:
- icomment:
Logged In: NO This was posted by Jesse Newcomb, [email protected]
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment:
Ticket change [e776564508] (rid 104457) by vincentdarley on 2002-08-05 16:19:03:
- assignee changed to: "dgp"
- foundin changed to: "obsolete: 8.4b2"
- icomment:
Logged In: YES user_id=32170 I don't believe this is a bug. Tcl_FindExecutable must be called for all sorts of reasons, not just this. Assigning to 'init' category.
- login: "vincentdarley"
- mimetype: "text/plain"
- subsystem changed to: "38. Init - Library - Autoload"
- username: "vincentdarley"
Ticket change [7610b1c7f0] (rid 105504) by dkf on 2002-08-05 17:51:28:
- icomment:
Logged In: YES user_id=79902 IIRC, you've been supposed to call Tcl_FindExecutable() first for quite a while. I don't know how this squares with use from a separate executable though, so while I'm marking this invalid (as I believe it to be, because the original questioner already knows the way to deal with this) I'm not closing it. I'll let someone who really understands the init process do that...
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- username: "dkf"
- icomment:
Ticket change [61a3872ecb] (rid 92277) by hobbs on 2002-12-01 04:06:49:
- closedate changed to: "2002-11-30T21:06:49"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 dup of 642280
- login: "hobbs"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "hobbs"