I’m trying systools to use OPEN and SAVE dialog on desktop targets.
I’ve got some problems.
The official repository on haxelib does not work for me. It crashes (with no output error and very obscure crash reports, especially because I don’t know how to read them :P) everytime after less than a second I close the dialog. (save or open does not matter)
It works for all the dialogs (it also support single/multi file on the OPEN dialog)
but the OPEN dialog give me an error.
I am on MAC64. I’ve dig the code to find out that the OPEN function in ObjectiveC actually get 5 arguments (a *results as last one).
I don’t know how to fix this. Do you have any idea?
That is not the problem sadly. Not so easy.
All the other dialogs works. Only the OPEN one fails to find the primitive.
I’ve tried to look at the code but I am not an expert in NDLLs
That was right. Thank you! You are always very helpful ibilon
I’ve still got problems anyway.
No idea where to start, but my app crash whenever any (OPEN or SAVE) dialog close.
I’ve set up a simple app with just a dialog and that does not crash.
Bloody hell.
Without the file dialog but feeding a filename by hand all works fine.
So I don’t really understand why it crashes.
It stopped for a while (don’t really know if I’ve changed something or not) and now it does that again.
You should try running your app in the debugger, lldb,
I found that often it can get you an error message that didn’t appear in a normal execution,
or at least a reason and position for the crash.
I’ve tried that solution, but I’m still getting the same ‘gleRunVertexSubmitImmediate’ error after using the dialog.
What version of OSX, lime and openfl are you using?
I’m on OSX 10.10.4, using lime 2.1.3 and openfl 2.2.8, I don’t know if that may have something to do with it.