How to Obtain OLE Automation '94 Documentation and Samples (124385)



The information in this article applies to:

  • Microsoft OLE Libraries for Windows and Win32s 2.02

This article was previously published under Q124385

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.

Modification Type:MajorLast Reviewed:12/8/1999
Keywords:KB124385