Click here to Skip to main content
15,887,477 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Visual C++ and LPCWSTR Pin
Michael Dunn4-Jun-09 17:06
sitebuilderMichael Dunn4-Jun-09 17:06 
QuestionHelp storing audio buffer to temp file Pin
Nikhil_77774-Jun-09 11:11
Nikhil_77774-Jun-09 11:11 
AnswerRe: Help storing audio buffer to temp file Pin
molesworth4-Jun-09 12:26
molesworth4-Jun-09 12:26 
GeneralRe: Help storing audio buffer to temp file Pin
Nikhil_77774-Jun-09 13:41
Nikhil_77774-Jun-09 13:41 
GeneralRe: Help storing audio buffer to temp file Pin
molesworth4-Jun-09 22:37
molesworth4-Jun-09 22:37 
QuestionC++/MFC and Sharepoint upload Pin
Ramchandra.kk4-Jun-09 9:00
Ramchandra.kk4-Jun-09 9:00 
Questionfree is needed when app will exit? Pin
norish4-Jun-09 6:42
norish4-Jun-09 6:42 
AnswerRe: free is needed when app will exit? Pin
Stuart Dootson4-Jun-09 7:09
professionalStuart Dootson4-Jun-09 7:09 
norish wrote:
But nowadays, in win32 system, malloc is implemented by HeapAlloc and do not need call at program exiting anymore, because system frees its heap safely at process died.


Strictly you are correct - Windows releases a processes resources when the process terminates. However, it's good practise to release resources explicitly, just in case the code gets reused somewhere that it matters. Use smart pointers/resource handles and it becomes easy enough.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: free is needed when app will exit? Pin
norish4-Jun-09 7:49
norish4-Jun-09 7:49 
QuestionOnInitDialog() is not called? Pin
transoft4-Jun-09 6:34
transoft4-Jun-09 6:34 
GeneralRe: OnInitDialog() is not called? Pin
norish4-Jun-09 7:07
norish4-Jun-09 7:07 
GeneralRe: OnInitDialog() is not called? Pin
transoft4-Jun-09 7:38
transoft4-Jun-09 7:38 
GeneralRe: OnInitDialog() is not called? Pin
norish4-Jun-09 8:01
norish4-Jun-09 8:01 
AnswerRe: OnInitDialog() is not called? Pin
Stuart Dootson4-Jun-09 7:10
professionalStuart Dootson4-Jun-09 7:10 
GeneralRe: OnInitDialog() is not called? Pin
transoft4-Jun-09 7:39
transoft4-Jun-09 7:39 
GeneralRe: OnInitDialog() is not called? Pin
ChosenOne5-Jun-09 9:44
ChosenOne5-Jun-09 9:44 
QuestionRe: OnInitDialog() is not called? Pin
David Crow4-Jun-09 10:23
David Crow4-Jun-09 10:23 
AnswerRe: OnInitDialog() is not called? Pin
Cristian Amarie4-Jun-09 18:31
Cristian Amarie4-Jun-09 18:31 
QuestionHow to show a dialog box when some background processing started Pin
pandit844-Jun-09 5:55
pandit844-Jun-09 5:55 
AnswerRe: How to show a dialog box when some background processing started Pin
Code-o-mat4-Jun-09 6:02
Code-o-mat4-Jun-09 6:02 
QuestionCreate Process in background Pin
krishnakumartm4-Jun-09 5:25
krishnakumartm4-Jun-09 5:25 
AnswerRe: Create Process in background Pin
Uwe Keim4-Jun-09 5:29
sitebuilderUwe Keim4-Jun-09 5:29 
GeneralRe: Create Process in background Pin
krishnakumartm4-Jun-09 5:42
krishnakumartm4-Jun-09 5:42 
GeneralRe: Create Process in background Pin
krishnakumartm4-Jun-09 5:57
krishnakumartm4-Jun-09 5:57 
GeneralRe: Create Process in background Pin
norish4-Jun-09 6:02
norish4-Jun-09 6:02 

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.