GLBasic forum

Main forum => Bug Reports => Topic started by: MrTAToad on 2010-Aug-31

Title: FILEREQUEST$ doesn't work in debug mode
Post by: MrTAToad on 2010-Aug-31
With this :

Code (glbasic) Select
strFileName$=FILEREQUEST$(TRUE, "Alias Wavefront OBJ|*.obj|All|*.*")]

It works fine in release mode, but in debug mode the window opens for a second or 2 and then closes the program.
Title: Re: FILEREQUEST$ doesn't work in debug mode
Post by: matchy on 2010-Sep-01
You're processing 3D files?  Cool!  :good:
Title: Re: FILEREQUEST$ doesn't work in debug mode
Post by: MrTAToad on 2010-Sep-01
No, it was  from someone elses test program :)
Title: Re: FILEREQUEST$ doesn't work in debug mode
Post by: Cliff3D on 2010-Sep-02
 :whistle:
Title: Re: FILEREQUEST$ doesn't work in debug mode
Post by: MrTAToad on 2010-Sep-03
I had actually posted this ages ago.  It should also be noted that it only happens with Windows 7 in debug  mode...
Title: Re: FILEREQUEST$ doesn't work in debug mode
Post by: Kitty Hello on 2010-Sep-15
I have no idea why it happens and can't reproduce it here.
It it really that bad?
Title: Re: FILEREQUEST$ doesn't work in debug mode
Post by: MrTAToad on 2010-Sep-15
Not really - I dont tend to use it that much.

It can certainly wait until you get Windows 7  =D
Title: Re: FILEREQUEST$ doesn't work in debug mode
Post by: Moru on 2011-Aug-06
Just stumbled into this one too, windows XP SP3.

I get this when I run the (very simple) program in debug mode:


Code (glbasic) Select
*** Unhandled exception ***
   EXCEPTION_INVALID_HANDLE


Works fine in normal mode, thanks for the tip :-)
Title: Re: FILEREQUEST$ doesn't work in debug mode
Post by: Kitty Hello on 2011-Aug-16
Yes. It's a problem very deep inside windows. I could not fix it. It really crashes in an API call.