[omniORB] Problem with long and inheiritance
Duncan Grisby
duncan@grisby.org
Thu Dec 19 17:56:00 2002
On Tuesday 17 December, Cedar Milazzo wrote:
> I have an IDL with a coupld simple method:
> void signalIntValue(in wstring name, in long value);
> void signalStringValue(in wstring name, in wstring
> value);
[...]
> Finally, I have a main function which instantiates an
> instance of B. However, this doesn't compile. Visual
> C++ complains that the signalIntValue method is pure
> virtual!
Most likely, you have used the wrong signature for the implementation
of signalIntValue. The compiler is therefore correct in saying that
the one with the signature from the IDL skeleton is still abstract.
The signature of your function should be
void signalIntValue(const CORBA::WChar* name, CORBA::Long value)
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan@grisby.org --
-- http://www.grisby.org --