CWinApp::RunAutomated
TOC
Collapse the table of content
Expand the table of content

CWinApp::RunAutomated

 

Call this function to determine whether the "/Automation" or "-Automation" option is present, which indicates whether the server application was launched by a client application.


BOOL RunAutomated( );

Nonzero if the option was found; otherwise 0.

If present, the option is removed from the command line. For more information on OLE Automation, see the article Automation Servers.

Requirements

Header: afxwin.h

Show:
© 2016 Microsoft