Microsoft Foundation OLE Classes (mfcole.hlp) (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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.
 
 
                                     -♦-