用 LMD 控件包把. delphi5.4u.ra use Netscape, Porxy
{------------------------------------------------------------------------------}
function TLMDBrowseDlg.ConvertPathToItemIDList(const aPath:String; ItemIDList: PItemIDList):Boolean;
var
shi:IShellFolder;
v1, v2:ULONG;
begin
result:=False;
if SHGetDesktopFolder(shi) = NOERROR then
try
if DirectoryExists(aPath) then
begin
shi.ParseDisplayName(0,nil,StringToOleStr(aPath), v1,ItemIDList,v2);
result:=true;
end;
finally
shi._Release;
end;
end;