BUG: Win32 SDK Version 3.51 Bug List - OLE

Last reviewed: September 12, 1995
Article ID: Q136433
The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK) for Windows NT

SUMMARY

This article lists the bugs in the OLE libraries released with Windows NT version 3.51 that were known at the time the product was released.

MORE INFORMATION

  • IMoniker::BindToObject always returns MK_E_INVALIDEEXTENSION if an error occurs during open. It should only associate the file extension if the file is not a .doc file.
  • CreateFileMoniker expands letters to UNC names. If in doing so, the path becomes greater than MAX_PATH, CreateFileMoniker returns E_OUTOFMEMORY.
  • Cannot call CoCreateInstance for first time from the DllEntry. If you need the DLL to create an object, you can either do this by having the .exe call a creation function in your DLL or post a message to a window owned by your DLL.
  • IOleCache::SetData returns OLE_E_BLANK for invalid lIndex, FormatEtc, aspect, and target device. It should return DV_E_LINDEX, DV_E_FORMATETC, DV_E_DVASPECT, and DV_E_TARGETDEVICE, respectively.
  • Calling freeze on a frozen icon aspect with an invalid lIndex returns VIEW_S_ALREADYFROZEN rather than DV_E_INDEXFreeze of Icon aspect returns.
  • IStream::Write of 0 bytes returns E_INVALIDARG from a 16-bit OLE application running in the WOW layer. Zero is a valid parameter to pass to Write.
  • "Alt -" accelerator does not work with MDI windows.
  • IOleObject::IsUpToDate always returns S_FALSE after link track move.
  • The proxy for IEnumVARIANT::Next allows a NULL pceltFetched when celt is greater than 1.
  • If you place a dataobject which only has a TYMED_FILE format using OleSetClipboardData, GetClipboardData returns NULL.
  • The file version of IStream::CopyTo uses Windows NT signed 64-bit math to compute values it needs. Some of the math could overflow 63 bits if the sizes and/or seek pointers of the streams are 63 bits or more.
  • OleCreateFromData does not update the OBJREL moniker of the newly created embedded object.
  • OleCreateLinkToFile succeeds for non-existent files. Your code should check for the existance of the file before calling this function.
  • OleUIAddVerbMenu is not setting up the single menu item correctly.
  • OleUIConvert and OleUIChangeIcon crash on invalid hMetaPict.
  • CoFreeUnusedLibraries fails to unload DLLs that are no longer in use.
  • The AddControl option, when calling OleUIInsertObject, does not work as expected.


Additional reference words:
KBCategory: kbole kbbuglist
KBSubcategory: LeTwoMisc


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: September 12, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.