![]() |
This topic provides an overview of the task to build the code for a C++ CORBA server. The actual steps that you complete depend on the development environment that you use.
For example, if you are using the Microsoft C++ 6.0 compiler on Windows NT to build a C++ CORBA server, you can use the following commands:
At a command line, type the following command for each file:
-DSOMCBNOLOCALINCLUDES -D_MS_INC_DIR=msvc60_install\include -D_USE_NAMESPACE -DNO_STRICT -Imsvc60_install\include -Imsvc60_install\include -Iwasee_install\include -I. filename
Where
d:\msvc60\vc98
.link /nologo /DEBUG /OUT:WSLoggerServer.exe /DEFAULTLIB:\WebSphere\AppServer\Enterprise\lib\somosa1m.lib \WebSphere\AppServer\Enterprise\lib\somororm.lib \WebSphere\AppServer\Enterprise\lib\somsrvsm.lib servantServer.obj servant_I.obj servant.obj
This task is one step of the parent task, Developing a CORBA client.
For more examples of building C++ CORBA server code (on several platforms) for WebSphere Application Server, see the samples article "Tutorial: Creating a user-defined C++ server and client" at WAS_HOME/Enterprise/samples/sampeex/sampcppsdk/wsBuildLogger.htm.
Related tasks... | |
Parent: Developing a CORBA server | |
Related concepts... | |
The CORBA server programming model | |
The CORBA programming model | |