Hi Vitaliy,

your patch to shlfolder.c is what produces the loop. It is the line, which I 
commented out below:

if (dwAttributes & FILE_ATTRIBUTE_DIRECTORY)
   ;//*pdwAttributes |=  (SFGAO_FOLDER | SFGAO_HASSUBFOLDER |
                         SFGAO_FILESYSANCESTOR);
else
   *pdwAttributes &= ~(SFGAO_FOLDER | SFGAO_HASSUBFOLDER | 
                       SFGAO_FILESYSANCESTOR);

It works fine if the line is commented out. I don't understand at the moment 
why this is the fact, but the loop seems in fact to be a problem with 
SHGetPathFromIDList. I didn't figure it out tonight, but I will investigate 
this further over the weekend. 

Bye,
-- 
Michael Jung
[EMAIL PROTECTED]

Reply via email to