Autor Beitrag
Holg_i
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 79



BeitragVerfasst: Fr 19.03.10 15:09 
Ob das für euch Foris sogut war das ich dieses Forum gefunden habe.

So greife ich doch recht schnell zum Fragen über. Habe sonst immer Stundenlang gesucht... was war besser???

Nun also wieder eine Frage

Wie bekomme ich das Verzeichnis herraus in dem die Temporäre Internetdateien gespeichert werden

Also eine Art ExtractFilePath(xxxxxx)

Schon mal besten Dank
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Fr 19.03.10 15:23 
Tja.. von welchem Browser hättests denn gerne?

_________________
PROGRAMMER: A device for converting coffee into software.
Andreas L.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Fr 19.03.10 15:23 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
function GetShellFolder(CSIDL: integer): string;
var
  pidl                   : PItemIdList;
  FolderPath             : string;
  SystemFolder           : Integer;
  Malloc                 : IMalloc;
begin
  Malloc := nil;
  FolderPath := '';
  SHGetMalloc(Malloc);
  if Malloc = nil then
  begin
    Result := FolderPath;
    Exit;
  end;
  try
    SystemFolder := CSIDL;
    if SUCCEEDED(SHGetSpecialFolderLocation(0, SystemFolder, pidl)) then
    begin
      SetLength(FolderPath, max_path);
      if SHGetPathFromIDList(pidl, PChar(FolderPath)) then
      begin
        SetLength(FolderPath, length(PChar(FolderPath)));
      end;
    end;
    Result := FolderPath;
  finally
    Malloc.Free(pidl);
  end;
end;

Von www.michael-puff.de/Artikel/HOMEDIR.shtml

Die Konstanten findest du hier: msdn.microsoft.com/e...2494%28VS.85%29.aspx

---Moderiert von user profile iconNarses: Beiträge zusammengefasst---

user profile iconXentar hat folgendes geschrieben Zum zitierten Posting springen:
Tja.. von welchem Browser hättests denn gerne?

Bei anderen Browsern gibt es keine temp. Internetdateien, die nennen es nämlich Cache