Ver Mensaje Individual
  #2  
Antiguo 29-07-2008
Khronos Khronos is offline
Miembro
 
Registrado: abr 2007
Posts: 298
Reputación: 20
Khronos Va por buen camino
Hola,

Código Delphi [-]
function GetWindowsTempFolder : String;
      var
         pcSystemDirectory : PChar;
         dwSDSize          : DWORD;
              begin
              dwSDSize := MAX_PATH + 1;
              GetMem( pcSystemDirectory, dwSDSize );
                    try
              if GetSystemDirectory( pcSystemDirectory, dwSDSize ) <> 0 then
                   Result := pcSystemDirectory + '\temp\';
                   finally
                   FreeMem( pcSystemDirectory );
                end;
              end;
Responder Con Cita