Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get a huge struct array? Pin
CPallini3-Apr-09 3:01
mveCPallini3-Apr-09 3:01 
GeneralRe: How to get a huge struct array? Pin
jebbe3-Apr-09 20:52
jebbe3-Apr-09 20:52 
AnswerRe: How to get a huge struct array? Pin
sashoalm4-Apr-09 2:55
sashoalm4-Apr-09 2:55 
Questionstrange character Pin
ruthlesspker2-Apr-09 15:17
ruthlesspker2-Apr-09 15:17 
AnswerRe: strange character Pin
Luc Pattyn2-Apr-09 16:44
sitebuilderLuc Pattyn2-Apr-09 16:44 
AnswerRe: strange character Pin
«_Superman_»2-Apr-09 19:10
professional«_Superman_»2-Apr-09 19:10 
GeneralRe: strange character Pin
ruthlesspker2-Apr-09 21:33
ruthlesspker2-Apr-09 21:33 
GeneralRe: strange character Pin
krmed3-Apr-09 0:37
krmed3-Apr-09 0:37 
QuestionglDrawPixels help Pin
Member 33753342-Apr-09 12:39
Member 33753342-Apr-09 12:39 
AnswerRe: glDrawPixels help Pin
Cedric Moonen2-Apr-09 20:16
Cedric Moonen2-Apr-09 20:16 
GeneralRe: glDrawPixels help Pin
Member 33753343-Apr-09 3:05
Member 33753343-Apr-09 3:05 
QuestionNtfsDisable8dot3NameCreation does not take its effect for short path generation Pin
tom groezer2-Apr-09 10:13
tom groezer2-Apr-09 10:13 
AnswerRe: NtfsDisable8dot3NameCreation does not take its effect for short path generation Pin
tom groezer3-Apr-09 1:19
tom groezer3-Apr-09 1:19 
QuestionRaise thread safe event Pin
tadams11382-Apr-09 9:56
tadams11382-Apr-09 9:56 
AnswerRe: Raise thread safe event Pin
tadams11382-Apr-09 11:24
tadams11382-Apr-09 11:24 
AnswerRe: Raise thread safe event Pin
Roger Stoltz2-Apr-09 11:58
Roger Stoltz2-Apr-09 11:58 
QuestionHow To Import and use Com file in c++ Pin
snouto2-Apr-09 7:34
snouto2-Apr-09 7:34 
AnswerRe: How To Import and use Com file in c++ Pin
CPallini2-Apr-09 7:44
mveCPallini2-Apr-09 7:44 
JokeRe: How To Import and use Com file in c++ Pin
Stuart Dootson2-Apr-09 7:48
professionalStuart Dootson2-Apr-09 7:48 
JokeRe: How To Import and use Com file in c++ Pin
CPallini2-Apr-09 7:59
mveCPallini2-Apr-09 7:59 
AnswerRe: How To Import and use Com file in c++ Pin
Iain Clarke, Warrior Programmer2-Apr-09 8:16
Iain Clarke, Warrior Programmer2-Apr-09 8:16 
QuestionDeleting the Main Window Pin
BobInNJ2-Apr-09 6:10
BobInNJ2-Apr-09 6:10 
AnswerRe: Deleting the Main Window Pin
Stuart Dootson2-Apr-09 7:17
professionalStuart Dootson2-Apr-09 7:17 
BobInNJ wrote:
I plan to delete the object in the routine ExitInstance


Seems reasonable.

BobInNJ wrote:
I would think this would be standard practice but I have not seen any examples in my MFC books that do this. I am wondering why. Could it be that these authors do not do this because they feel it is does not matter since the application will terminate anyway?


Probsbly.

Personally, I use smart pointers[^] to hold pointers. For this case, I might well use a boost::scoped_ptr, which would deallocate the memory in the CWinApp destructor.

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

AnswerRe: Deleting the Main Window Pin
Iain Clarke, Warrior Programmer2-Apr-09 8:19
Iain Clarke, Warrior Programmer2-Apr-09 8:19 
AnswerRe: Deleting the Main Window Pin
Stuart Dootson2-Apr-09 11:26
professionalStuart Dootson2-Apr-09 11:26 

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.