Click here to Skip to main content
15,906,335 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MAC Address Pin
Paolo Messina6-Sep-00 9:51
professionalPaolo Messina6-Sep-00 9:51 
GeneralAdding Handlers for User-Defined Messages Pin
#realJSOP6-Sep-00 1:27
professional#realJSOP6-Sep-00 1:27 
Generalchange the windows opening screen Pin
thrivikram6-Sep-00 1:24
thrivikram6-Sep-00 1:24 
GeneralC++ Exception Pin
koteswara5-Sep-00 20:46
koteswara5-Sep-00 20:46 
GeneralRe: C++ Exception Pin
Pete Bassett5-Sep-00 22:50
Pete Bassett5-Sep-00 22:50 
GeneralRe: C++ Exception Pin
Tim Deveaux6-Sep-00 6:23
Tim Deveaux6-Sep-00 6:23 
GeneralRe: C++ Exception Pin
Pete Bassett6-Sep-00 6:33
Pete Bassett6-Sep-00 6:33 
GeneralRe: C++ Exception Pin
Chris Losinger7-Sep-00 11:29
professionalChris Losinger7-Sep-00 11:29 
leave it to the OS? you mean the lovely "This application has performed an illegal operation" message box?

ask the average user which is more important: leaking 30 bytes or preventing the app from crashing without warning.

if i do a "catch(whatever w)", i always follow it with a catch(...). or, if i'm wrapping C code, or someone else's code, or around code that has the potential to jump out pf array bounds (like when you are filling a buffer that you didn't allocate).

in fact, i often put a catch(...) around every major code section, just in case something gets by testing. i also make sure that i do something intelligent in the catch, like attempt to get into a safe state.

the headaches that little construct can save are worth megabytes of leaked memory, to the average user.

-c
GeneralRe: C++ Exception Pin
Remus Lazar5-Sep-00 22:51
Remus Lazar5-Sep-00 22:51 
GeneralProblem in the release exe Pin
N.S.5-Sep-00 20:27
N.S.5-Sep-00 20:27 
GeneralRe: Problem in the release exe Pin
Remus Lazar5-Sep-00 23:00
Remus Lazar5-Sep-00 23:00 
GeneralRe: Problem in the release exe Pin
David Vest6-Sep-00 14:11
David Vest6-Sep-00 14:11 
GeneralRe: Problem in the release exe Pin
Sam Hobbs8-Sep-00 9:40
Sam Hobbs8-Sep-00 9:40 
GeneralHiding the Menu in a MFC Application Pin
Charles Rodericl5-Sep-00 18:02
sussCharles Rodericl5-Sep-00 18:02 
GeneralRe: Hiding the Menu in a MFC Application Pin
Remus Lazar5-Sep-00 23:07
Remus Lazar5-Sep-00 23:07 
GeneralChanging default icon for saved documents in SDI Pin
Savage5-Sep-00 13:58
Savage5-Sep-00 13:58 
GeneralRe: Changing default icon for saved documents in SDI Pin
Michael Dunn5-Sep-00 18:19
sitebuilderMichael Dunn5-Sep-00 18:19 
GeneralUnicode vs. ANSI string Pin
Member 117662575-Sep-00 11:57
Member 117662575-Sep-00 11:57 
GeneralRe: Unicode vs. ANSI string Pin
Serge Velikevitch15-Sep-00 11:11
sussSerge Velikevitch15-Sep-00 11:11 
GeneralBeginner Q: Viewing the contents of an array in the watch window Pin
Matthias Steinbart5-Sep-00 5:17
sussMatthias Steinbart5-Sep-00 5:17 
GeneralRe: Beginner Q: Viewing the contents of an array in the watch window Pin
arf5-Sep-00 6:00
arf5-Sep-00 6:00 
GeneralCFileDialog problems on Win2000 with read only files Pin
Ronald L. Russell Jr. (Ron)5-Sep-00 3:42
sussRonald L. Russell Jr. (Ron)5-Sep-00 3:42 
GeneralRe: CFileDialog problems on Win2000 with read only files Pin
jschacker5-Sep-00 5:31
jschacker5-Sep-00 5:31 
GeneralWriting DevStudio Add-Ins Pin
#realJSOP5-Sep-00 3:29
professional#realJSOP5-Sep-00 3:29 
GeneralZip/Unzip class Pin
Franky Braem5-Sep-00 0:41
Franky Braem5-Sep-00 0:41 

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.