BUG: Win32 SDK Version 3.51 Bug List - OLE (136433)



The information in this article applies to:

  • Microsoft Win32 Software Development Kit (SDK) for Windows NT 3.51

This article was previously published under Q136433

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 existence 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.

Modification Type:MajorLast Reviewed:2/19/2002
Keywords:KB136433