BOOL RunAutomated( );
Return Value
Nonzero if the option was found; otherwise 0.
Remarks
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. If present, the option is removed from the command line. For more information on OLE Automation, see the article Automation Servers in Visual C++ Programmer’s Guide.
CWinApp Overview | Class Members | Hierarchy Chart
See Also CWinApp::RunEmbedded