BUG: Win32 SDK Version 3.5 Bug List - OLE (122679)



The information in this article applies to:

  • Microsoft Win32 Software Development Kit (SDK) 3.5

This article was previously published under Q122679

SUMMARY

The following lists the bugs in the Win32 SDK and OLE API that were known when the SDK was released.

MORE INFORMATION

  • Packager will report that there is not enough memory when you try to package a file which is in use.
  • VB can't activate Word object if Word is running in separate VDM.
  • MFC 2.5 OLE 2.0 Automation Server fails initialization.
  • If a client thread terminates without calling CoUnitialize(), its servers in the same process are not released.
  • OLE 2.0 hides application aborts. The server does not receive the exception.
  • CoCreateInstance() returns REGDB_E_CLASSNOTREG when the object create fails, instead of the return code from DllGetClassObject() from the inproc server DLL.
  • OLE objects inherit only "system" environment variables, not "user" environment variables.
  • Users can log on and start an ole app before the OLE service is autostarted.
  • Passing CoMarshalInterface() a NULL pUnk (pointer to IUnknown) causes an access violation.
  • CoGetClassObject() returns E_OUTOFMEMORY when DllGetClassObject() fails.
  • If an OLE Server which dies after registering its class, the container will stall waiting for CoGetClassObject() to succeed.
  • Class cache never shrinks - all classes are treated as InUse.
  • Default handler causes RPC_E_FAULT exceptions during OnClose.
  • ::SetColorScheme() does not validate lpLogPal.
  • Messages for server ownerdraw menuitems on menu bar go to the container.
  • The server is started if you "Insert" a "Link from File" choosing icon format.
  • IsLinkUpToDate() returns S_FALSE after object creation. This can cause containers to run the server twice during creation of the object.
  • Setting the link source with IOL::SetSourceMoniker() does not update the presentation cache, even though it does run the server app.
  • AddRef() does not marshall count back properly for return value.
  • BindToStorage() on non-existent file returns MK_E_INVALIDEXTEN.
  • IOleCache::Cache() fails for ICON aspect unless metafile format is used.
  • IOleCache2::DiscardCache() does not persist uncaches.
  • If an enhanced metafile node exists and IOleCache::Cache is used to cache multiple NULL FORMATETCs, a node is added.
  • IViewObject::GetColorSet() after flushing cache should return OLE_E_BLANK, but signals Win32 error 0x8007000e.
  • OleDuplicateMedium() does not GlobalUnlock() source METAFILEPICT in the error case.
  • Iconic aspect has incorrect colors when played in metafile.
  • OLE Cache has a limit of 100 nodes, but accepts more and never returns from the call.
  • GetColorSet() for WMF should return LOGPALLETE, which is the union of colors used in the contained CreatePalette() calls. GetColorSet() only returns the first colorset found in this case.

Modification Type:MajorLast Reviewed:2/12/2002
Keywords:KB122679 kbAudDeveloper