File Picker
Jeremy DeHaan
dehaan.jeremiah at gmail.com
Sun Dec 8 21:09:41 PST 2013
On Monday, 9 December 2013 at 04:52:21 UTC, Malkierian wrote:
> On Monday, 9 December 2013 at 04:01:54 UTC, Malkierian wrote:
>> On Monday, 9 December 2013 at 02:45:48 UTC, Adam D. Ruppe
>> wrote:
>>> I wonder if your other DSFML thingy use threads or
>>> something...
>>>
>>> the GetOpenFileName function blocks until the user makes
>>> their choice. So that could be stalling the SFML event loop,
>>> or maybe having threading issues. I don't know. But I get the
>>> feeling that the problem is one of these two things.
>>
>> Yes, but like I said, I took DSFML completely out of the
>> project to do a test compile using only main.d and not linking
>> any external libs (DSFML, GtkD, or DerelictAL). No special
>> build instructions or anything in Xamarin, but the first time
>> it's called, I get that first picture and the second time
>> (after clicking cancel on the first one it's opened again in
>> the code), it shows the proper file structure and freezes. In
>> my regular setup (not the main.d exclusive test), my program
>> would continue to work just fine until I called the file
>> chooser a second time.
>
> What version(s) of dmd are you using?
I used 2.064.2, and it worked for me. I know you recently
upgraded though. Maybe you could try uninstalling and then
reinstalling the compiler?
More information about the Digitalmars-d-learn
mailing list