Click here to Skip to main content
15,908,444 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: malloc and free Pin
Chris Losinger19-Jan-03 18:36
professionalChris Losinger19-Jan-03 18:36 
GeneralRe: malloc and free Pin
Christian Graus19-Jan-03 18:53
protectorChristian Graus19-Jan-03 18:53 
GeneralRe: malloc and free Pin
Chris Losinger19-Jan-03 19:06
professionalChris Losinger19-Jan-03 19:06 
GeneralRe: malloc and free Pin
pranavamhari19-Jan-03 19:45
pranavamhari19-Jan-03 19:45 
GeneralRe: malloc and free Pin
Christian Graus19-Jan-03 20:21
protectorChristian Graus19-Jan-03 20:21 
GeneralRe: malloc and free Pin
Tim Smith20-Jan-03 2:08
Tim Smith20-Jan-03 2:08 
GeneralRe: malloc and free Pin
Christian Graus20-Jan-03 11:14
protectorChristian Graus20-Jan-03 11:14 
GeneralRe: malloc and free Pin
Michael Dunn19-Jan-03 16:37
sitebuilderMichael Dunn19-Jan-03 16:37 
pranavamhari wrote:
What is the win32 API equivalent of 'malloc' and 'free' ?

HeapAlloc() and HeapFree(). Neither is better as far as allocating memory goes, however you should always use the CRT functions so it can track you memory usage, find over/under writes, and flag leaks for you.

--Mike--
I'm bored... Episode I bored.
1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click!
My really out-of-date homepage
Sonork-100.19012 Acid_Helm

GeneralRe: malloc and free Pin
Christian Graus19-Jan-03 20:22
protectorChristian Graus19-Jan-03 20:22 
GeneralRe: malloc and free Pin
Michael Dunn19-Jan-03 20:46
sitebuilderMichael Dunn19-Jan-03 20:46 
GeneralRe: malloc and free Pin
Christian Graus19-Jan-03 23:48
protectorChristian Graus19-Jan-03 23:48 
GeneralActive X control question # 2 Pin
bryce19-Jan-03 14:31
bryce19-Jan-03 14:31 
GeneralSupport CD burning with ASPI sdk Pin
Hiusing19-Jan-03 13:25
Hiusing19-Jan-03 13:25 
GeneralRe: Support CD burning with ASPI sdk Pin
Christian Graus19-Jan-03 13:49
protectorChristian Graus19-Jan-03 13:49 
GeneralRe: Support CD burning with ASPI sdk Pin
Mike Nordell20-Jan-03 3:10
Mike Nordell20-Jan-03 3:10 
Generalfirst chance exceptions in debug mode Pin
bryce19-Jan-03 13:21
bryce19-Jan-03 13:21 
GeneralRe: first chance exceptions in debug mode Pin
PJ Arends19-Jan-03 13:36
professionalPJ Arends19-Jan-03 13:36 
GeneralRe: first chance exceptions in debug mode Pin
bryce19-Jan-03 13:41
bryce19-Jan-03 13:41 
GeneralEdit control,single mouse click and SetSel() Pin
julych19-Jan-03 11:33
julych19-Jan-03 11:33 
GeneralRe: Edit control,single mouse click and SetSel() Pin
valikac19-Jan-03 19:11
valikac19-Jan-03 19:11 
GeneralCString.Find("@",0) problem Pin
carrie19-Jan-03 11:16
carrie19-Jan-03 11:16 
GeneralRe: CString.Find("@",0) problem Pin
Christian Graus19-Jan-03 11:51
protectorChristian Graus19-Jan-03 11:51 
GeneralRe: CString.Find("@",0) problem Pin
valikac19-Jan-03 19:12
valikac19-Jan-03 19:12 
General2D Arrays in C++.NET Pin
Matt Gates19-Jan-03 9:50
Matt Gates19-Jan-03 9:50 
GeneralRe: 2D Arrays in C++.NET Pin
Matt Gates19-Jan-03 11:16
Matt Gates19-Jan-03 11:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.