Arsip: Mengetahui System dir

 
user image
more 17 years ago

ho2sly

aduh, tolong dong,gmana cara ngetahuin letah direktori sistem di semua platform windows thank's for your attention
user image
more 17 years ago

deLogic

sudahkah Anda melakukan googling? sangat banyak, berikut salah satunya: Getting Windows important directories
user image
more 17 years ago

agoes_5150

Direktori sistem dapat dibaca menggunakan fungsi WinAPI GetSystemDirectory(); Contoh membaca direktori sistem:

procedure TForm1.Button1Click(Sender: TObject);
var
  Buf : PChar;
begin
  // Alokasi memori buffer
  Buf := AllocMem(MAX_PATH + 1);
  // Baca direktori sistem -> disimpan di variabel Buf
  GetSystemDirectory(Buf, MAX_PATH);
  // Tampilkan pada komponen Edit1
  Edit1.Text := Buf;
  // Bebaskan memori yg dialokasikan untuk Buf
  FreeMem(Buf);
end;
user image
more 17 years ago

ho2sly

thanks
more ...
  • Pages:
  • 1
Share to

AI Forward

🚀 We're thrilled to partner with Alibaba Cloud for "AI Forward - Alibaba Cloud Global Developer Summit 2025" in Jakarta! Join us and explore the future of AI. Register now: https://int.alibabacloud.com/m/1000400772/
#AlibabaCloud #DeveloperSummit #Jakarta #AIFORWARD

Local Business Directory, Search Engine Submission & SEO Tools FreeWebSubmission.com SonicRun.com