FileChooser error


#1
FileChooser fc (T("Seleccione el archivo de sonido..."),
                        File::getCurrentWorkingDirectory(),
                        T("*.mp3;*.wav;*.ogg;*.Aif;*.flac"),false);
fc.browseForFileToOpen();

error if useOSNativeDialogBox=false


#2

…ok, but what’s the error?


#3

when I call fc.browseForFileToOpen () crashes the program.

or when I move the mouse over the buttons open and cancel.

[color=#FF0000]Process terminated with status -1073741819 (0 minutes, 9 seconds)[/color]


#4

And didn’t you try catching it in the debugger to see where the crash was?


#5

no


#6

Program received signal SIGSEGV, Segmentation fault.
In ?? () ()
Continuing…
Program received signal SIGSEGV, Segmentation fault.
In ?? () ()
Continuing…
Program exited with code 030000000005.
Debugger finished with status 0


#7

Cannot access memory at address 0x0


#8

Sigh…

Don’t you think a stack trace might be more helpful than all that useless information?


#9

Sometimes it’s hard to be Jules…


#10

Yes, it’s one of those days…


#11

I feel I’ve barely six months into the world of c + +


#12

learn how to use the debugger… it will make your life so much easier, and empower you…

aprender a utilizar el depurador … se le hará la vida mucho más fácil, y la autonomía de ti …


#13

cpr:

thank you very much for the suggestion.

muchas gracias por la sugerencia.