File Picker

Malkierian rhydonj at gmail.com
Sun Dec 8 22:31:57 PST 2013


On Monday, 9 December 2013 at 05:09:42 UTC, Jeremy DeHaan wrote:
> 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?

*sigh* No dice.  And I can't get GtkD to work either, because of 
entry point errors...


More information about the Digitalmars-d-learn mailing list