INF: OLE Object Names Must Be Unique

ID Number: Q71659

3.10

WINDOWS

Summary:

Names given to embedded or linked objects in client documents must be

unique. The application must preserve these names across the saving

and closing of the client document.

To open the client document, the client application calls

OleLoadFromStream. One of the parameters to this function is the

object name. For a given object, this name must be the same as when

the object was saved to disk. Essentially, this means the object name

must be saved along with other pertinent data. It is the client

application's responsibility to assign a unique object name when the

object is created and to preserve the uniqueness.

Currently, an application may function properly if object name

uniqueness is not maintained. However, it is very likely that future

versions of the object linking and embedding (OLE) libraries will

cause applications using nonunique names to fail.

Additional reference words: 1.0 object linking embedding OL&E