![]() |
|
Use this task to create the main code for a CORBA client, to locate a servant object hosted by a CORBA server and to call methods on the server object. The client's main method performs the following tasks:
To create the main code for a CORBA client, complete the following steps:
main(int argc, char *argv[]) { int rc; ::CORBA::Object_ptr objPtr; ::CosNaming::NamingContext_var rootNameContext = NULL; Servant_var liptr = NULL; exit( 0 ); }
This task is one step of the parent task, Developing a CORBA client.
Related tasks... | |
Building the client code | |
Parent: Developing a CORBA client | |
Related concepts... | |
The CORBA client programming model | |
The CORBA programming model | |
![]() |