FILEREQUEST$ doesn't work in debug mode

Previous topic - Next topic

MrTAToad

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.

matchy

You're processing 3D files?  Cool!  :good:

MrTAToad

No, it was  from someone elses test program :)


MrTAToad

I had actually posted this ages ago.  It should also be noted that it only happens with Windows 7 in debug  mode...

Kitty Hello

I have no idea why it happens and can't reproduce it here.
It it really that bad?

MrTAToad

Not really - I dont tend to use it that much.

It can certainly wait until you get Windows 7  =D

Moru

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 :-)

Kitty Hello

Yes. It's a problem very deep inside windows. I could not fix it. It really crashes in an API call.