Win32Lib bug? Crash on open file dialog
- Posted by Andy Serpa <ac at onehorseshy.com> Jun 01, 2003
- 385 views
Hello, Don't know if this has been reported before. I was noticing I would sometimes get a machine-level crash when I had the Open File dialog open. It seems to happen if you very quickly (within a second or so) after opening your main window open an Open File dialog. If you allow the dialog to remain open for 5 - 10 seconds, the program crashes. So I created the following program which opens the dialog immediately: -------------------------- include win32lib.ew without warning constant Main = create( Window, "Main", 0, Default, Default, 500, 500, 0) procedure main_open(integer void1, integer void2, sequence null) object x x = getOpenFileName(Main,"",{}) end procedure setHandler(Main,w32HActivate,routine_id("main_open")) WinMain(Main,Normal) --------------- Sure enough, if you run the program and just wait 5 seconds or so, it crashes. Not every time, but 30%-40% of the time. I'm running on Windows ME...