Re: Add member variable wizard



First rule of error reporting: report the EXACT error code that occurred. Second rule:
NEVER return an error state that could be due to any of several possible errors unless
there is a way to retrieve the actual error starte (for example, it is OK to return FALSE
as long as GetLastError gives a meaningful value and you return that!). Third rule: never
assume that an error that is returned indicates exactly one of the potentially several
errors (for example, the asinine linker error that it cannot write the PDB file because
the disk may be full or the user does not have rights to the directory, or some third
cause which I forget, when the truth is that WinDbg is holding the PDB file open! The
only CORRECT message is "Access denied" and to attribute it to three of the four possible
causes is insane).

People who do this have never, ever had to take trouble calls from end users!
joe

On Tue, 28 Oct 2008 06:48:43 -0700, "Tom Serface" <tom.nospam@xxxxxxxxxxxxx> wrote:

I had an interesting one this morning. I mistakenly tried to save a file
while a compile was going on (fortunately I can continue editing while a lot
of files are being recompiled). I didn't really want to save it yet (and
potentially mess up the build), so I said cancel and it reported that it
could save the file because it was write protected. That didn't hurt
anything really, it just wasn't true.

Tom

"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in message
news:givcg4pll9mc0ktaf0bg7rv2iqih3m2gfd@xxxxxxxxxx
See, that's our problem: completely unreasonable expectations!
joe

On Mon, 27 Oct 2008 14:00:30 -0700, "Tom Serface"
<tom.nospam@xxxxxxxxxxxxx> wrote:

Agreed. It would be nice if it just worked.

Tom
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: => "Joe the Plumber" EXPOSED as DEADBEAT and Repug LIAR <= has NO PLUMBING LICENSE, OWES BACK TA
    ... pit the full weight of their reporting staff to DESTROY him and ... who speaks ill of their "MESSIAH!" ... It's their job to TRASH Joe Citizen for DARING to ask ... over 50 reporters (from the various media) to GET DIRT ...
    (misc.legal)
  • Re: Looters
    ... They don't show the more sensational coverage to get us to "ask the hard questions." ... They do it to get Joe Six Pack to keep watching. ... Your comparison of the news to the National Enquirer, you'll forgive me for making the broad assumption, leads me to believe that you were one of those who referred to CNN and the like as "mouthpieces for the liberal left". ... Rwanda and the other items you mentioned, and, whether one agrees with them or not, Woodward and Bernstein's reporting of the abuses in the Nixon administration. ...
    (rec.travel.cruises)
  • Re: Hurricanes Really Blow, Literally
    ... >>> Patrick (reporting live from Hurricane Central) ... >> Joe (reporting from the SouthEast edge) ...
    (rec.autos.makers.ford.mustang)
  • Re: Firefox ???
    ... wtwjgc (Joe) wrote: ... Others are reporting that error but in a different context:- ... but those Unheard are sweeter ...
    (uk.people.silversurfers)
  • Samoa Joe Moving Up To TNAs Heavyweight Division?
    ... PWInsider is reporting that there have been some serious talks recently ... about Samoa Joe being moved up to TNA's heavyweight division. ...
    (rec.sport.pro-wrestling)