Exception Safe Programming
    Saaa 
    empty at needmail.com
       
    Sun Feb 25 14:44:48 PST 2007
    
    
  
I was that far myself :)
It is that I can list everything in that dir when that line is commented out
(everything working fine)
I too found the error a bit strange, but I thought I shouldn't complain :D
> Saaa wrote:
>> That is the whole code.. I've stripped it bare. Only a main calling that 
>> function:
>>
>> void main()
>> {
>>  char[][] files;
>>  getPictureList("pictures",files);
>> }
>
> Ah, I found the problem.  You're trying to list the contents of a 
> directory that doesn't exist.  The error message isn't very clear, but 
> that's the problem.  I don't know why commenting out the line with the 
> throw is changing the behavior of the program, because it shouldn't. 
    
    
More information about the Digitalmars-d-learn
mailing list