Função para Pegar Pasta temporária do Windows
Function GetTemporaryDir: String;
var
pNetpath: ARRAY[ 0..MAX_path - 1 ] of Char;
nlength: Cardinal;
begin
nlength := MAX_path;
FillChar( pNetpath, SizeOF( pNetpath ), #0 );
GetTemppath( nlength, pNetpath );
Result := StrPas( pNetpath );
end;
Nenhum comentário:
Postar um comentário