Arsip: Lokasi My Network Places & isi dari Lokasi Memory???

 
user image
more 16 years ago

s373n

1. ada yg bisa bantu gak, gmn caranya mendapatkan lokasi "My Network Places"??? 2. Klo ingin mendapatkann isi dari lokasi memory yg ditunjuk oleh sebuah pointer itu gmn yah??? (mis : saya memakai perintah "Malloc.Alloc(Size)" trus hasilnya alamat memory "$1873E0", trus saya mau melihat isi dari memory yg ditunjuk "$1873E0" gmn yah?) thanks b4... :) [/list]
user image
more 16 years ago

DelphiExpert

1. ? --> pake windows explorer kali' :mrgreen: 2. ...

var
  Buf: Pointer;
  DataPtr: PChar;
begin
  Buf:= AllocMem(ASize);
  ... do & fill something with Buf
  ... now allocate new buffer utk hold data yg di read dari pointer yg diinginkan
  GetMem(DataPtr, ASize);
  try
    ... baca data di pointer Buf
    Move(Buf^, DataPtr^, ASize);
    ... do something with DataPtr^ 
  finally
    FreeMem(DataPtr);
  end;
  ... free another resources
end;
user image
more 16 years ago

s373n

kan klo mau mendapatkan lokasi folder spesial, menggunakan "SHGETSPESIALFOLDERLOCATION", atau mau mendapatkan dekstop direktory kan pke "SHGetDesktopFolder" maksudnya, gmn caranya mendapatkan lokasi my network places di dalam pemograman delphi 7??
user image
more 16 years ago

MrLee

coba aja lihat di sini http://www.swissdelphicenter.ch/torry/showcode.php?id=233 klu memang itu yg di maksudkan
user image
more 16 years ago

_aa_

@s373n: (mis : saya memakai perintah "Malloc.Alloc(Size)" trus hasilnya alamat memory "$1873E0", trus saya mau melihat isi dari memory yg ditunjuk "$1873E0" gmn yah?)
// P = $1873E0 hasil Malloc, atau bisa apa saja. I := PInteger(P)^; I64 := PInt64(P)^; Char1 := PByteArray(P)[1] Char2 := PByteArray(P)[2] ... dst
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