Microsoft KB Archive/249308

From BetaArchive Wiki

Article ID: 249308

Article Last Modified on 11/30/2000


  • MSPRESS Inside ATL ISBN 1-57231-858-9

This article was previously published under Q249308


This article contains comments, corrections, and information about known errors relating to the Microsoft Press book Inside ATL, ISBN 1-57231-858-9.

The following topics are covered:

  • Page 42: Error In Code Sample


Page 42: Error In Code Sample

On page 42, CSpellCheckerClassObject's QueryInterface incorrectly casts to ISpellChecker. It should cast to IClassFactory.


} else if (riid == IID_IUnknown) {
    *ppv = static_cast<ISpellChecker*>(this);
} else {


} else if (riid == IID_IUnknown) {
    *ppv = static_cast<IClassFactory*>(this);
} else {

Microsoft Press is committed to providing informative and accurate books. All comments and corrections listed above are ready for inclusion in future printings of this book. If you have a later printing of this book, it may already contain most or all of the above corrections.

Additional query words: DevBook ATL 1-57231-858-9

Keywords: kbinfo kbdocfix kbdocerr KB249308