[omniORB] Compiler Error: _var is an undeclared identifier

Keval Desai kddesai98@yahoo.com
Mon, 12 Mar 2001 08:09:57 -0800 (PST)


Hello,

I am using omniORB303 and try to use POA on NT and Solaris. for example.idl,
example.hh file is created successfully and my callback object is implemented -
it has been inherited from the following :

class Callback :
POA_example:: callbackInterface
PortableServer::RefCountServantBase
example::_objref_callbackInterface

now, when I try to assign the object reference(from servant obj) to
callbackInterface_var type, I got the compilation error - callbackInterface_var
is an undeclared identifier.

Callback *t1 = new Callback();
callbackInterface_var z1 = t1->_this();

Am I missing something? 

Thanks for help.

Regards,
Keval Desai

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/