import iup
discard iup.open(nil,nil)
var cs : cstring = "*.txt"
echo iup.getFile(cs)
iup.close()
RunProgram crashes before show the getFile result: SIGSEGV: Illegal storage access. (Attempt to read from nil?) Success if press the cancel button in file dialog. (Windows 7, iup30.dll)
