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



Reply via email to