Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fc6619ebe51106f901910c1e9bcbe3be76deb64b
Ticket: 858493ffffffffffffffffffffffffffffffffff
Win32: DllMain needs SEH around Tcl_Finalize()
User & Date: davygrvy on 2003-12-13 06:47:06
Changes

  1. icomment:
    
    
    File Added - 70389: patch.txt
    
    Logged In: YES 
    user_id=7549
    
    Attached a patch for Tk.  I'm still having problem in 
    DeleteWindowsExitProc(), but as it is now being called from 
    within an SEH block no damage occurs, yet am I just masking 
    it and being lazy?  I don't know yet.
    
    Added three new functions:
    TkCreateExitHandler
    TkDeleteExitHandler
    TkFinalize
    
    They're in the private Stubs table, which was a mistake, they 
    should be unstubbed, private, internal instead.  They just 
    apply a simple level of indirection so I can call TkFinalize from 
    the Tk's DllMain() for DLL_PROCESS_DETACH and avoid the 
    dangling pointer thing.
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"