Click here to Skip to main content
16,004,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: suppress file creation Pin
Alex Orovetskiy9-Dec-05 22:35
Alex Orovetskiy9-Dec-05 22:35 
AnswerRe: suppress file creation Pin
jnerv10-Dec-05 15:48
jnerv10-Dec-05 15:48 
AnswerRe: suppress file creation Pin
gamitech11-Dec-05 0:42
gamitech11-Dec-05 0:42 
AnswerRe: suppress file creation Pin
FarPointer11-Dec-05 3:40
FarPointer11-Dec-05 3:40 
AnswerRe: suppress file creation Pin
ThatsAlok11-Dec-05 22:35
ThatsAlok11-Dec-05 22:35 
QuestionMemory shortage Pin
hint_549-Dec-05 14:30
hint_549-Dec-05 14:30 
AnswerRe: Memory shortage Pin
Nemanja Trifunovic9-Dec-05 17:04
Nemanja Trifunovic9-Dec-05 17:04 
AnswerRe: Memory shortage Pin
Jörgen Sigvardsson10-Dec-05 2:56
Jörgen Sigvardsson10-Dec-05 2:56 
> If there is no memory how can i throw an exception?

Never *ever* throw exceptions which allocate memory dynamically (or dynamically allocate the exception object itself), when you are out of memory. Things may happen to your application which you may not recover from if you had a thousand catch clauses (I love paraphrasing lyrics by the way Roll eyes | :rolleyes: )

As Nemanja says, "reuse" the exception which new provides for you. You'll be much better off that way. Smile | :)

--
Pictures[^] from my Japan trip.
QuestionList view doesn't want to make friends with image list Pin
Alex Orovetskiy9-Dec-05 10:55
Alex Orovetskiy9-Dec-05 10:55 
AnswerRe: List view doesn't want to make friends with image list Pin
Alex Orovetskiy10-Dec-05 9:17
Alex Orovetskiy10-Dec-05 9:17 
GeneralRe: List view doesn't want to make friends with image list Pin
Optimus Chaos15-Dec-05 4:57
Optimus Chaos15-Dec-05 4:57 
GeneralRe: List view doesn't want to make friends with image list Pin
Alex Orovetskiy15-Dec-05 5:09
Alex Orovetskiy15-Dec-05 5:09 
Questionstrstr in managed applications Pin
MaTTEvIL9-Dec-05 10:38
MaTTEvIL9-Dec-05 10:38 
AnswerRe: strstr in managed applications Pin
Nish Nishant9-Dec-05 10:57
sitebuilderNish Nishant9-Dec-05 10:57 
QuestionRogueWave ToolsVC? Pin
Ed K9-Dec-05 10:29
Ed K9-Dec-05 10:29 
QuestionFindWindow Word2003 problem Pin
rem-c9-Dec-05 10:29
rem-c9-Dec-05 10:29 
AnswerRe: FindWindow Word2003 problem Pin
sun_shb9-Dec-05 20:40
sun_shb9-Dec-05 20:40 
GeneralRe: FindWindow Word2003 problem Pin
rem-c10-Dec-05 4:28
rem-c10-Dec-05 4:28 
QuestionIdentify the CD rom drive Pin
NYTSX9-Dec-05 10:09
NYTSX9-Dec-05 10:09 
AnswerRe: Identify the CD rom drive Pin
Alex Orovetskiy9-Dec-05 10:49
Alex Orovetskiy9-Dec-05 10:49 
AnswerRe: Identify the CD rom drive Pin
Axter9-Dec-05 11:49
professionalAxter9-Dec-05 11:49 
GeneralRe: Identify the CD rom drive Pin
Alex Orovetskiy9-Dec-05 22:29
Alex Orovetskiy9-Dec-05 22:29 
AnswerRe: Identify the CD rom drive Pin
NYTSX11-Dec-05 9:54
NYTSX11-Dec-05 9:54 
GeneralRe: Identify the CD rom drive Pin
ThatsAlok11-Dec-05 21:27
ThatsAlok11-Dec-05 21:27 
Questionnew and delete operators size element Pin
lastgen9-Dec-05 9:53
lastgen9-Dec-05 9:53 

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.