TIBCO Adapter SDK C++ Reference
MAppProperties::setCommandLine
MAppProperties
Store the command-line arguments used when this adapter is invoked.

Allows applications to access command-line arguments in the MApp::onInitialization() method.

Remarks
If applications call this method before calling MApp::start() users have access to the default command-line arguments.

If applications call this method, the SDK stores the command-line arguments. Applications can then retrieve the arguments with getCommandLineArgc() and getCommandLineArgv() and take appropriate action based on arguments provided when the application was started.

Parameters
Parameters Description
long iArgc Number of command-line arguments.
char** aszArgv Vector of strings of command-line arguments.
Line Arguments *
line arguments. To activate them, the application must call MAppProperties::setCommandLine() before calling MApp::start().
Declaration
void setCommandLine(long iArgc, char** aszArgv);
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.