[omniORB] IDL question]

David Riddoch djr@uk.research.att.com
Wed, 28 Feb 2001 10:08:46 +0000 (GMT)


On Wed, 28 Feb 2001, Shen Chun wrote:

> 	I am writing a IDL/C++ program to generate some simple
> Corba traffic. Please check the attached IDL file, server file
> and omniorb generated header file. 
>         In the eg3_impl.cc: 
> 	class Echo_i : public _impl_Echo,
>                        public PortableServer::RefCountServantBase

Why are you deriving from _impl_Echo?  It is an omniorb internal class,
which you should never attempt to use.

Try:

  class Echo_i : public POA_Echo,
                 public PortableServer::RefCountServantBase


Cheers,
David