Microsoft Foundation OLE Classes (mfcole.hlp) (Topic list)
COleServerDoc::OnExecute
COleServerDoc                               Up Contents Index Back
──Microsoft Foundation OLE Classes──────────────────────────────────────────
  protected:
      virtual OLESTATUS OnExecute( LPVOID <lpCommands> );
 
  Parameter    Description
 
  <lpCommands> A far pointer to a block of memory that contains DDE
               Execute string commands.
 
  Remarks
 
  Override this function to handle DDE Execute commands that are sent to
  this document. The COleServer::OnExecute function handles DDE Execute
  string commands not sent to a specific document. The server must not
  delete memory referenced by <lpCommands>.
 
  This is an advanced feature for developers familiar with Dynamic Data
  Exchange programming.
 
  Return Value
 
  See the COleException class for a list of return values. The value
  OLE_OK indicates that the function operated correctly.
 
 
                                     -♦-