[TRUCO DELPHI] Crear un Archivo Temporal.
delphi
function CreateTempFileName(aPrefix: String): String; Var Buf : Array[0..MAX_PATH] Of Char; Temp: Array[0..MAX_PATH] Of Char; begin GetTempPath(MAX_PATH, Buf); GetTempFilename(Buf, PChar(aPrefix), 0, Temp); Result := String(Temp); end;
Saludos!