Re: Win32Lib bug? Crash on open file dialog

new topic     » goto parent     » topic index » view thread      » older message » newer message

----- Original Message ----- 
From: "Andy Serpa" <ac at onehorseshy.com>
To: "EUforum" <EUforum at topica.com>
Subject: Win32Lib bug? Crash on open file dialog


> 
> 
> 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...
> 
> 
> 
> TOPICA - Start your own email discussion group. FREE!
> 

Andy,
I can't get it to fail on my WinME system.
-- 
Derek

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu