Any ideas on what GetConsoleWindow() should actually return?
it should return the handle of the window (user32) where the console actually runs (it is attached to a console).
Anyway, are you sure the segfault you see is related to returning a non NULL value in GetConsoleWindow compared to another bug in Wine (because you are running on another codepath - the first one being the graphical display).
Where does you program actually crash ?
A+


Reply via email to