PRB: Error Inserting or Editing a Linked or Embedded OLE ObjecLast reviewed: February 17, 1995Article ID: Q89611 |
The information in this article applies to:
SYMPTOMSAn OLE client application receives the error codes OLE_ERROR_COMM or OLE_ERROR_POKENATIVE when trying to insert or edit a linked or embedded OLE object.
POSSIBLE CAUSEThe server application has yielded before calling the OleRegisterServer() or OleRegisterServerDoc() functions.
RESOLUTIONDue to the synchronous nature of DDE messages and the fact that OLE 1.0 is implemented with DDE, an OLE server application should not yield before calling the OleRegisterServer() function. Additionally, if the server command line contains the /Embedding switch, the function OleRegisterServerDoc() should also be called before yielding. NOTE: Yielding does not necessarily require calling GetMessage() or PeekMessage() -- any Windows function which yields before returning will also cause the problem mentioned above, like MessageBox() or DialogBox().
|
Additional reference words: 3.00 3.10 OLESVR.DLL OLECLI.DLL 1.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |