Re: Bug in CFrameWnd::OnInitMenuPopup (MFC 7.10)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Keith MacDonald (nospam_at_parasites.com)
Date: 05/06/04


Date: Thu, 6 May 2004 10:09:56 +0100


> Writing a KB article is not a easy thing. It contains many steps such as
> tech review, content review...... So it also takes some time unless it is
> quite time critical.

Hello Yanhong,

That's why I am disturbed that you have a bug database for internal use
only. Microsoft have obviously decided that their time is more important
than that of their customers, as the following case will exemplify:

Last year, I spent a long time trying to solve a problem that some of our
customers reported to us, but which we could not reproduce. After a major
effort, I found it was due to a change to CTime::CTime(const FILETIME&),
which our code did not knowingly call. In fact, it called
CFile::GetFilePath(), which calls CFile::GetStatus(), which calls the CTime
constructor.

It turned out that some network file systems and some CD-ROMs were returning
a file access time of zero. The CTime constructor had been changed to throw
in that circumstance, which was not documented in the MFC 7 release notes.
Our code was not catching it, because the parameterless function
CFile::GetFilePath() did not seem a likely candidate for throwing
E_INVALIDARG. The end result was that our application crashed, and our
customers were not happy.

I carefully documented this bug in a posting to this newsgroup, only to be
immediately informed that it was a known problem! Well, it wasn't fixed in
MFC 7.1, still isn't in the Knowledge Base, and my posting has scrolled off
the end of this NG, so anybody else will also have to find it the hard way.
Is that a reasonable way to treat your customers?

Regards,
Keith MacDonald

"Yan-Hong Huang[MSFT]" <yhhuang@online.microsoft.com> wrote in message
news:XMn7aowMEHA.3780@cpmsftngxa10.phx.gbl...
> Hello Keith,
>
> What Al said is right. Firstly, not all the bug reports could be turned to
> a KB article. For an example, bugs that are still under investigation,
bugs
> that will be fixed soon, bugs that is fixed in the next version...... We
> have a internal counter which indicates how many reports are linked to
this
> problem. If there are some people who met this problem or this problem is
> important, our content team will mark it as a KB article candidate and ask
> engineer to write KB for it.
>
> Writing a KB article is not a easy thing. It contains many steps such as
> tech review, content review...... So it also takes some time unless it is
> quite time critical.
>
> Thanks very much for your interest. :)
>
> Best regards,
> Yanhong Huang
> Microsoft Community Support
>
> Get Secure! ¨C www.microsoft.com/security
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>



Relevant Pages

  • Re: Larkin, Power BASIC cannot be THAT good:
    ... If they did not produce a product with *adequate* quality then customers would not buy it and the company would not make a profit. ... it is to change a product in the field, and Y axis is bug density. ... but when the in service fix is almost free to the supplier then they will exploit that to their advantage. ... On-screen programming is pretty much type and ignite and see what ...
    (sci.electronics.design)
  • Re: Special upgrade treatment
    ... If you search through this newsgroup, or google "LW 7.5 D morph mixer problems - HELP", you will find a request to confirm a bug in 7.5d, and your support department's "workaround", to wit, "... ... If technical support is recommending against any other | updates in that series or in any wider selected range of update | versions, then by all means I'd like to know about it, and I'd like to | know why. ... customers, and the quality of LW releases is of public interest. ...
    (comp.graphics.apps.lightwave)
  • Re: [Full-Disclosure] Disclose a bug, do not pass go, go directly to jail
    ... so he emailed the customers to only let them know about the bug. ... Disclose a bug, do not pass go, go directly to ... > be a civil case against Mr. McDanel, since he worked for Tornado and ...
    (Full-Disclosure)
  • Re: [patch 2/2] x86 amd fix cmpxchg read acquire barrier
    ... // pre-release versions, but not in versions released to customers, ... CPUs). ... Rev F only had the bug in pre-releases. ...
    (Linux-Kernel)
  • PassthroughAPP and _ATL_DEBUG_INTERFACES
    ... Where does one find the most current copy of PassthroughAPP ... I am trying to hunt down a really random bug in the application. ... customers see it all the time; others have never had the problem. ... logging code in the application, both in the application and in the ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)