Winecfg -> browse for folder

Robert van Herk robert at robertvanherk.nl
Sun Nov 28 10:02:05 CST 2004


Mike Hearn wrote:

>On Sat, 27 Nov 2004 10:37:10 +0100, Robert van Herk wrote:
>  
>
>>Thus, if I'd make an extra flag in the dialog, I would have to extent 
>>pidls to, so that they can hold unix paths. Is that a wise thing to do? 
>>Or should I take another approach?
>>    
>>
>
>Hmm, I'm not sure you want to do that. You may wish to abstract that out,
>eg replace the parts where PIDLs are passed around with a 
>
>struct path
>{
>	PIDL pidl;
>	char *path;
>}
>  
>
Ofcourse, but the api call SHBrowseForFolder returns a pidl. So making 
unix browsing an extra flag wouldn't be useful, if I couldn't return a 
valid pidl in the unix case.

Hmm, I guess perhaps it is best to make an extra api function for unix 
browsing anyway.

Robert



More information about the wine-devel mailing list