You will define a new C++ component, CPPArithmetic.
Expand the cpptut package and right-click the Components folder beneath it, then select Add. The New Component Wizard displays. Apply the following settings as you page through the wizard:
For component name,
enter CPPArithmetic
.
For component type, choose CORBA/C++.
For C++ Class Name, enter CPPArithmeticImpl
.
For C++ Library, enter libCPPArithmetic
.
For IDL Home Interface, leave blank. (EAServer generates the default home interface later in the tutorial.)
For IDL Remote Interface, enter Tutorial::CPPArithmetic
.
When you finish the wizard, the component properties display.
In the component properties, select the General tab. Confirm or apply the settings in the table below. Leave the remaining fields at their default settings.
Field |
Value |
---|---|
Component Type |
CORBA/C++ |
C++ Class |
|
C++ Library |
|
Copy Library |
Checked |
Debug Library |
Checked |
IDL Home Interface |
Leave blank. |
IDL Remote Interface |
|
Automatic Failover |
Checked |
Pooled |
Checked |
Thread Safe |
Checked |
Click Apply to save changes made to the component properties.