adspace
Why does ORB_init change the order of the command line
arguments if we pass argv to ORB_init(argc, argv)?
Answer Posted / Naman Goel
ORB_init modifies the command line arguments because it needs to parse them internally for CORBA options. The original argument vector `argv` is modified in-place by ORB_init so that it can handle both standard program arguments and CORBA-specific options. To preserve your application's arguments, you should copy them before passing them to ORB_init if necessary.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category