How to Obtain OLE Automation '94 Documentation and Samples

Last reviewed: August 5, 1996
Article ID: Q124385
The information in this article applies to:
  • Microsoft OLE Libraries for Windows and Win32s, version 2.02

SUMMARY

You can get the second edition of OLE 2 Programmer's Reference, Volume 2 and the samples it contains from the Win32 SDK. The samples demonstrate many of the new Automation features.

MORE INFORMATION

The second edition of the OLE 2 Programmer's Reference, Volume 2 can be obtained from Microsoft Press.

The documentation and samples can also be obtained from the Windows 32 SDK for Windows 95 and Windows NT 3.51.

The WIN16 directory contains 16-bit versions of the samples, and the WIN32 directory contains a version that you can compile for 16-bit or 32-bit by changing the dev option in the makefile to compile for 16- or 32-bit and changing the HOST option to compile a 32-bit version for Windows NT or for Windows 95. The .REG entries for the samples in the WIN32 directory are set up for 32-bit, so you need to change them to the 16-bit keys if you are compiling for the 16-bit environment.

The 32-bit version of the samples for NT use Unicode.

The 32-bit version of the samples for Windows 95 use Unicode with the OLE API and interfaces and use ANSI with the Windows 95 API. This is because Windows 95 uses ANSI and 32-bit OLE uses Unicode, regardless of the platform. The samples do the appropriate Unicode-to-ANSI conversions to support this.

See the README.TXT file for each sample for more details.


Additional reference words:
KBCategory: kbole kbprg kbwebcontent
KBSubcategory: LeTwoAto


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: August 5, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.