[so] alocare mem

Cristian Traum so@atlantis.cs.pub.ro
Sat, 1 Nov 2003 14:19:19 -0800 (PST)


--0-477966446-1067725159=:94353
Content-Type: text/plain; charset=us-ascii

nu avem voie deloc deloc? adica daca vreau in cadrul parsarii sa copiez un sir... nu am voie strdup???
sau HeapAlloc si HeapRealloc tb folosite cand e vorba de procese...?


Cosmin Arad <cosminarad@yahoo.com> wrote:
--- Cibu Cristian wrote:
> in windows putem folosi malloc si realloc?

NU. Folositi HeapAlloc si HeapRealloc!
Sau orice functie prezentata in 'Memory Management
Functions' in Platform SDK, care nu e deprecated
(local and global functions _nu_ sunt recomandate). 
(ms-help://MS.PSDK.1033/memory/base/memory_management_functions.htm)

Nu folositi functiile de lucru cu memoria virtuala
pentru ca inca nu stiti prea bine cu ce se mananca si
nici nu e nevoie de ele in tema.

Practic puteti folosi de la 'Memory Management
Functions' funtiile din primul si din al 4-lea (heap
functions) tabel.

Cosmin 


__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
_______________________________________________
so mailing list
so@atlantis.cs.pub.ro
http://atlantis.cs.pub.ro/cgi-bin/mailman/listinfo/so

---------------------------------
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
--0-477966446-1067725159=:94353
Content-Type: text/html; charset=us-ascii

<DIV>nu avem voie deloc deloc? adica daca vreau in cadrul parsarii sa copiez un sir... nu am voie strdup???</DIV>
<DIV>sau HeapAlloc si HeapRealloc tb folosite cand e vorba de procese...?</DIV>
<DIV><BR><BR><B><I>Cosmin Arad &lt;cosminarad@yahoo.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">--- Cibu Cristian <CIBU.CRISTIAN@RDSLINK.RO>wrote:<BR>&gt; in windows putem folosi malloc si realloc?<BR><BR>NU. Folositi HeapAlloc si HeapRealloc!<BR>Sau orice functie prezentata in 'Memory Management<BR>Functions' in Platform SDK, care nu e deprecated<BR>(local and global functions _nu_ sunt recomandate). <BR>(ms-help://MS.PSDK.1033/memory/base/memory_management_functions.htm)<BR><BR>Nu folositi functiile de lucru cu memoria virtuala<BR>pentru ca inca nu stiti prea bine cu ce se mananca si<BR>nici nu e nevoie de ele in tema.<BR><BR>Practic puteti folosi de la 'Memory Management<BR>Functions' funtiile din primul si din al 4-lea (heap<BR>functions) tabel.<BR><BR>Cosmin <BR><BR><BR>__________________________________<BR>Do you Yahoo!?<BR>Exclusive Video Premiere - Britney Spears<BR>http://launch.yahoo.com/promos/britneyspears/<BR>_______________________________________________<BR>so
 mailing list<BR>so@atlantis.cs.pub.ro<BR><A href="http://atlantis.cs.pub.ro/cgi-bin/mailman/listinfo/so">http://atlantis.cs.pub.ro/cgi-bin/mailman/listinfo/so</A></BLOCKQUOTE><p><hr SIZE=1>
Do you Yahoo!?<br>
Exclusive Video Premiere - <a href="http://launch.yahoo.com/video/?1093432&fs=1&redirectURL=http://launch.yahoo.com/promos/britneyspears/">Britney Spears</a>
--0-477966446-1067725159=:94353--