Skip to content
Tcl Source Code History Of Ticket 633293ffffffffff
Login

History Of Ticket 633293ffffffffff

Artifacts Associated With Ticket 633293ffffffffff

  1. Ticket change [2b4b42a122] (rid 118716) by mahlonstacy on 2002-11-04 14:31:22:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      In a console program under Windows, program startup 
      crashes the program with a call to a NULL function. The
      program is attempting to start using Tcl_CreateInterp 
      followed by Tcl_Init. This worked fine under 8.3.
      In tracing the crash, I discovered that the function call
      tclWinProcs->getFileAttributesExProc is being called 
      before it is defined. A workaround is to call 
      Tcl_FindExecutable(NULL) prior to calling Tcl_Init. 
      Tcl_FindExecutable calls the encoding reoutines, whcih 
      check for the presence of tclWinProcs-
      >getFileAttributesExProc and, if missing, defines it.
      
      FYI, Tcl_LibraryPath is specifically defined in our 
      program, from a value stored in the registry.
      
      
      
    4. foundin initialized to: "obsolete: 8.4.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "mahlonstacy"
    9. subsystem initialized to: "38. Init - Library - Autoload"
    10. title initialized to: "Tcl_Init crashes on Windows XP"
    11. type initialized to: "Bug"
  2. Ticket change [a860662e9d] (rid 98977) by dkf on 2002-11-04 23:00:43:

    1. resolution changed to: "Duplicate"
    2. status changed to: "Closed"
  3. Ticket change [6aa0a20032] (rid 128187) by dkf on 2002-11-04 23:00:44:

    1. closedate changed to: "2002-11-04T16:00:44"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      
      Add a call to Tcl_FindExecutable() first (either with argv[0] 
      from main() or NULL as an argument; the first is preferred) so 
      that Tcl can initialize its file-system and encoding layers.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. username: "dkf"