Microsoft KB Archive/278020

= Visual C++ 6.0 Programmer's Guide Comments and Corrections =

Article ID: 278020

Article Last Modified on 2/12/2007

-

APPLIES TO


 * MSPRESS Microsoft Visual C++ 6.0 Programmer's Guide ISBN 1-57231-866-X

-



This article was previously published under Q278020



SUMMARY
This article contains comments, corrections, and information about known errors relating to the Microsoft Press book Microsoft Visual C++ 6.0 Programmer's Guide, ISBN 1-57231-866-x.

The following topics are covered:


 * Page 254: Code Sample Is Missing Include Statement
 * Page 335: MSChart.ocx Is Not A License-Free ActiveX Object



Page 254: Code Sample Is Missing Include Statement
On page 254, in Listing 5-3, the code for DirList1.cpp will not compile, as it is missing an Include statement. Note that this omission was made in the DirList1.cpp file on the companion CD-ROM as well. If you try to build this program, you may receive the following error:

irlist1.obj : error LNK2001: unresolved external symbol &quot;void __stdcall DDX_DateTimeCtrl(class CDataExchange *,int,class CTime &)&quot; (?DDX_DateTimeCtrl@@YGXPAVCDataExchange@@HAAVCTime@@@Z) .\Debug/Dirlist1.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe To correct the problem, the following statement should be added to the DirList1.cpp code.


 * 1) include &quot;afxdtctl.h&quot;

Page 335: MSChart.ocx Is Not A License-Free ActiveX Object
On page 335, MSChart.ocx is described as a license-free ActiveX object. This is not true. When trying to use this object, users will get a &quot;design-time license&quot; error. Users must have a valid Visual Basic license in order to use MSChart.ocx.

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: VC DevBook Zaratian

Keywords: kbdocerr kbdocfix kbinfo KB278020

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.