Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3bc14708bc8c517c58e1516d25812d1ccfc06cde
Ticket: 590674ffffffffffffffffffffffffffffffffff
un-init ptr, file attrs, tclWin32Dll
User & Date: nobody on 2002-08-04 03:50:49
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "37. File System"
  10. title changed to: "un-init ptr, file attrs, tclWin32Dll"
  11. type changed to: "Bug"