Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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.

Header: afxwin.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.