![]() |
Use this task to add the include statements and global declarations needed to the source file for a CORBA client main code. This task is one step of the parent task to create the CORBA client main code, as described in Creating a CORBA client main code (client.cpp).
To add include statements and global declarations to the source file for a CORBA client main code, edit the client source file, client.cpp to complete the following steps:
#include "servant.hh" #include <CosNaming.hh>
Where:
static ::CORBA::ORB_ptr op;
Where:
You can also add the code for the functions needed in the client main code, as described in the parent task Creating a CORBA client main code (client.cpp).
Related tasks... | |
Parent: Creating a CORBA client main code (client.cpp) | |
Related concepts... | |
The CORBA client programming model | |
The CORBA programming model | |