[omniORB] help with IR code

Sveta Shasharina sveta@txcorp.com
Thu, 9 May 2002 09:34:27 -0600


I am trying to use Interface Repository and having
difficulties compiling the simplest code:

#include <omniORB4/CORBA.h>

CORBA::Repository_var rep = CORBA::Repository::_narrow(obj);

I get the message that Repository is not declared in namespace CORBA.

I tried just Repository (with no CORBA::).  Then I get the message
that Repository is not declared.  I did "grep" on " module "
in .idl files and do not see any other namespaces that could
make sense.  

?

Thx,
________________________________________

Dr. Svetlana Shasharina -- sveta@txcorp.com
Tech-X Corporation  -- www.techxhome.com
Ph:   (720) 563-0322
Cell: (720) 841-4301