Microsoft KB Archive/122244

= SAMPLE: Ole2View 1.33 Update Available in Download Center =

Article ID: 122244

Article Last Modified on 8/9/2004

-

APPLIES TO


 * Microsoft Win32 Software Development Kit (SDK) 3.5
 * Microsoft Visual C++ 1.5 Professional Edition
 * Microsoft Visual C++ 2.0 Professional Edition

-



This article was previously published under Q122244



SUMMARY
An update to the OLE2View sample application is available in the Microsoft Download Center as a self-extracting file named Ole2v.exe. This file contains both 16-bit and 32-bit versions of Ole2View version 1.33.

This new release of the sample application fixes several bugs (mostly of a cosmetic nature) found in the versions of Ole2View that shipped with Visual C++ versions 1.5 and 2.0 and with the Win32 Software Development Kit (SDK) for Windows NT version 3.5.



MORE INFORMATION
The following file is available for download from the Microsoft Download Center:

Ole2v.exe

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

Files Included in OLE2V.EXE
OLE2VIEW.EXE - Ole2View 1.33 (Win16)

DEFO2V.DLL - IDataObject and ITypeLib interface viewers (Win16)

OLE2VW32.EXE - Ole2View 1.33 (Win32)

DEFO2V32.DLL - IDataObject and ITypeLib interface viewers (Win32)

OLE2VIEW.HLP - Helpfile

OLE2V20.EXE - Ole2view BETA 2.0 (Win32)

IViewers.DLL - Interface views for Ole2view 2.0 (Win32)

MFC40.DLL - MFC 4.0 DLL

MSCRT40.DLL - Run time for Ole2view 2.0

Version 1.33 Changes

 * The 32-bit version is 100 percent compatible with Windows 95 in terms of using the right colors, and so on.
 * A bug in the Japanese version of Windows (display of spurious characters) is fixed.
 * DEFO2V32.DLL is changed to include only the ANSI versions of the interface viewers. Now DispplayIDataObjectA, DispplayIDispatchA, DispplayITypeInfoA, and DispplayITypeLibA are gone. DispplayIDataObject, DispplayIDispatch, DispplayITypeInfo, and DispplayITypeLib are now ANSI; they used to be Unicode. This change was made to simplify debugging DEFO2V and because the Unicode versions were never called.

Version 2.0 BETA Changes
 Requires MFC40 DLLs. The necessary ones are included if you do not have them. Requires either Windows NT version 3.51 or above, or Windows 95. Better categorization/organization of various object types. Much easier to find the object you're looking for. (Still no find command though.) Interface viewers are now COM objects. Viewers for IDataObject, IDispatch, ITypeLib, and ITypeInfo are provided. You can write your own.

A default interface viewer for IUnknown is included, so that no matter what interface you click on, you'll at least get the default.

 The IDataObject viewer (call the the Uniform Data Transfer viewer) is still under construction. It's not nearly as functional as the original (yet). The ITypeLib viewer is very good. A typelib decompiler was written. The output window of the typelib viewer shows the .ODL source for the given typelib (or the part you have selected). The registry view (right side) now shows *all* the relevant registry information, including named values of keys like "ApartmentModel".</li> Context menus (right mouse buttons work).</li> Multiple objects can be activated simultaneously (bold items are currently active).</li> Drag & Drop (WM_DROPFILES and OLE) works. Drop a file name on Ole2View and a file moniker is created and bound to it.</li> Drag & Drop, and the drag & drop object is put in the list.</li></ul>

Please report bugs to Microsoft and make suggestions by sending electronic mail to this alias:

[mailto:ole2view@microsoft.com ole2view@microsoft.com]

<div class="references_section">