DOCERR: Errors In "Implementing Localization Support"

Last reviewed: October 12, 1995
Article ID: Q122290
The information in this article applies to:
  • Microsoft OLE Control Development Kit (CDK), version 1.0

SUMMARY

The Programmer's Guide from the Microsoft OLE Control Development Kit, version 1.0, contains some errors in the "Implementing Localization Support" section. The section contains information about implementing support for international versions of OLE controls.

MORE INFORMATION

Please make the following corrections to the "Implementing Localization Support" section:

  • The second paragraph mentions three strategies for loading resources but fails to point out that the LOCALIZE sample uses the first strategy (loading resources on demand). In addition, it fails to mention that the second strategy is used for the rest of the topic.
  • The part that explains how to create localized type libraries mentions these three scenarios:

          Developing 16-bit controls under Windows 3.1 or later
          Developing 16-bit controls under Windows NT
          Developing 32-bit controls
    

    Please change this to the following more precise description:

          Developing 16-bit controls under Windows 3.1 or 3.11
          Developing 16-bit controls under Windows NT or Windows 95
          Developing 32-bit controls
    
  • The following phrase in the first section titled "To add a new type library command to the tools menu", step 5, is incorrect:

          ... and the CDK was installed in C:\MSVC
    

    It should read:

          ... and the CDK was installed in C:\MSVC\CDK16
    
  • The following phrase in the second section titled "To add a new type library command to the tools menu", step 5, is incorrect:

          ... and the CDK was installed in C:\CDK16
    

    It should read:

          ... and the CDK was installed in C:\MSVC\CDK16
    
  • The following sentence should be deleted:

          Because projects built under NT or Chicago store 16-bit type
          libraries in the TLB16 subdirectory you must move any .ODL.
    
  • The code sample for CSampleCtrl::GetLocalizedResourceHandle makes the following declaration:

          LANGID lang = LANGFROMLCID(lcid);
    
  • The lang variable is never used, so it can be safely deleted.


Additional reference words: 1.00 docerr
KBCategory: kbole kbusage kbdocerr
KBSubcategory: CDKIss


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 12, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.