Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Declaring and using private function in DLL Pin
Rajesh R Subramanian8-Dec-10 19:44
professionalRajesh R Subramanian8-Dec-10 19:44 
AnswerRe: Declaring and using private function in DLL [modified] Pin
Cedric Moonen8-Dec-10 20:55
Cedric Moonen8-Dec-10 20:55 
GeneralRe: Declaring and using private function in DLL Pin
Rajesh R Subramanian8-Dec-10 21:30
professionalRajesh R Subramanian8-Dec-10 21:30 
GeneralRe: Declaring and using private function in DLL Pin
Richard MacCutchan8-Dec-10 23:28
mveRichard MacCutchan8-Dec-10 23:28 
GeneralRe: Declaring and using private function in DLL Pin
Cedric Moonen8-Dec-10 23:37
Cedric Moonen8-Dec-10 23:37 
QuestionProcess exit memory released? Pin
vipin_nvk7-Dec-10 23:13
vipin_nvk7-Dec-10 23:13 
AnswerRe: Process exit memory released? Pin
bleedingfingers7-Dec-10 23:27
bleedingfingers7-Dec-10 23:27 
GeneralRe: Process exit memory released? Pin
vipin_nvk7-Dec-10 23:36
vipin_nvk7-Dec-10 23:36 
If your process runs for some time and doesn't care to release unwanted memory then it won't be reclaimed by the OS and the memory "leaks".

This part of your reply is confusing, does it mean that if I allocate memory in my program but fail to release it properly during application exit / if the application has crashed / terminated from the task manager, will this allocated memory (allocated during program execution) will not be returned to the OS and result in memory leak?

Thanx in advance
GeneralRe: Process exit memory released? Pin
bleedingfingers7-Dec-10 23:43
bleedingfingers7-Dec-10 23:43 
GeneralRe: Process exit memory released? Pin
vipin_nvk7-Dec-10 23:45
vipin_nvk7-Dec-10 23:45 
GeneralRe: Process exit memory released? Pin
Rajesh R Subramanian7-Dec-10 23:55
professionalRajesh R Subramanian7-Dec-10 23:55 
GeneralRe: Process exit memory released? Pin
Rajesh R Subramanian8-Dec-10 0:02
professionalRajesh R Subramanian8-Dec-10 0:02 
GeneralRe: Process exit memory released? Pin
vipin_nvk8-Dec-10 0:34
vipin_nvk8-Dec-10 0:34 
GeneralRe: Process exit memory released? Pin
Rajesh R Subramanian8-Dec-10 0:36
professionalRajesh R Subramanian8-Dec-10 0:36 
AnswerRe: Process exit memory released? Pin
Rajesh R Subramanian7-Dec-10 23:32
professionalRajesh R Subramanian7-Dec-10 23:32 
AnswerRe: Process exit memory released? Pin
Cedric Moonen8-Dec-10 0:16
Cedric Moonen8-Dec-10 0:16 
AnswerRe: Process exit memory released? Pin
Maximilien8-Dec-10 1:42
Maximilien8-Dec-10 1:42 
AnswerRe: Process exit memory released? Pin
Niklas L8-Dec-10 21:58
Niklas L8-Dec-10 21:58 
QuestionHow can identify why AfxBeginThread return value is NULL? Pin
Le@rner7-Dec-10 18:08
Le@rner7-Dec-10 18:08 
AnswerRe: How can identify why AfxBeginThread return value is NULL? Pin
Rajesh R Subramanian7-Dec-10 19:44
professionalRajesh R Subramanian7-Dec-10 19:44 
AnswerRe: How can identify why AfxBeginThread return value is NULL? Pin
bleedingfingers7-Dec-10 20:00
bleedingfingers7-Dec-10 20:00 
GeneralRe: How can identify why AfxBeginThread return value is NULL? Pin
Le@rner7-Dec-10 20:29
Le@rner7-Dec-10 20:29 
GeneralRe: How can identify why AfxBeginThread return value is NULL? Pin
Rajesh R Subramanian7-Dec-10 20:48
professionalRajesh R Subramanian7-Dec-10 20:48 
GeneralRe: How can identify why AfxBeginThread return value is NULL? Pin
bleedingfingers7-Dec-10 23:30
bleedingfingers7-Dec-10 23:30 
GeneralRe: How can identify why AfxBeginThread return value is NULL? Pin
Le@rner7-Dec-10 23:35
Le@rner7-Dec-10 23:35 

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.