#45 Segmentation fault / Failed to load comctl32.dll


When main frame has no notebook component then error exist:
- on Windows Vista, ghc 6.10.3, wxhaskell- - "Failed to load shared library 'comctl32.dll' (error 126...)" (after closing error window the application works correctly)
- on Windows XP, ghc 6.10.2, wxhaskell- - "Segmentation fault" and application is broken (the same message like in bug 2599836)

when notebook (invisible!) component is created then all is OK.


  • Nobody/Anonymous

    -- wrong src

    module Main where

    import Graphics.UI.WX
    import Graphics.UI.WXCore

    main = start mainFrame

    mainFrame = do
    f <- frame [text := "Test"]
    button f []
    -- notebook f [visible := False]

  • Nobody/Anonymous

    Same with Vista, ghc 6.10.4 and wxhaskell-

  • Comment has been marked as spam. 

    You can see all pending comments posted by this user  here


    Anonymous - 2009-10-29

    Windows XP x64, ghc 6.10.4, wxhaskell- - same behaviour as Vista - "Failed to load shared
    library 'comctl32.dll' (error 126...)"

  • Nobody/Anonymous

    After doing some google I found this http://trac.wxwidgets.org/ticket/10203.
    It seems to be a bug of wxWidgets and also show a workaround to fix it, but
    need to be done at wxWidgets level

  • Jeremy O\'Donoghue

    Unable to reproduce the problem with wxHaskell 0.12.5 candidate, wxWidgets 2.8.10 and GHC 6.10.3 on Windows XP. Presumed obsolete as wxWidgets shows underlying bug fixed in 2.8.x line.

  • Jeremy O\'Donoghue

    • assigned_to: nobody --> jodonoghue
    • status: open --> closed-out-of-date

Log in to post a comment.