Problem:
- Product Name: VisiBroker C
- Product Version: All
- Product Component: C ORB
This article describes how to set the vbroker properties programmatically for VBC during ORB initialization.
Resolution:
For example, to set the parameter "-Dvbroker.agent.enableLocator=false", please refer to the code below:
int my_argc=2;
char* my_argv[2];
char *enableFlag = "-Dvbroker.agent.enableLocator=false" ;
my_argv[0] = "Server"; // Executable name
my_argv[1] = enableFlag;
// Initialize the ORB.
CORBA::ORB_var orb = CORBA::ORB_init(my_argc, my_argv);
#c
#ORB_init
#C
#Security
#arguments
#setproperties
#VisiBroker




