[omniORB] Problem with modules

Duncan Grisby duncan at grisby.org
Mon Jan 30 11:57:45 GMT 2006


On Monday 30 January, janssen.h at atlas.de wrote:

> I have a problem with modules. I get different class names when I use a
> module.

The names are required by the CORBA C++ mapping specification.

[...]
> The problem is now that the code which uses this class expects something
> like POA_ABC_DTRCorba. Are there maybe parameters for the IDL-Compiler
> available which creates the class POA_ABC_DTRCorba and not DTRCorba? Or
> have I to use other settings in the Visual Studio 6.0 which replaces the
> _CORBA_MODULE POA_ABC into POA_ABC_DTRCorba?

You should use the class as POA_ABC::DTRCorba.

POA_ABC_DTRCorba is the name specified in the C++ mapping for compilers
that support neither namespaces or nested classes. omniORB doesn't
support that mode.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list