Archived
This forum has been archived. Please start a new discussion on GitHub.
problem with ObjectAdapter::identityToServant
Hello,
In my test application I invoke the function :
Ice::ObjectPtr servant = c.adapter.identityToServant(c.id);
If I compile the program with MS VS .NET 2002 (7.0) I get the following error message:
MyServantLocator.cpp: error C2039: 'identityToServant': is no element of 'IceInternal::Handle<T>'
with
[
T=Ice::ObjectAdapter
]
What does this message mean?
Thank you for your reply
In my test application I invoke the function :
Ice::ObjectPtr servant = c.adapter.identityToServant(c.id);
If I compile the program with MS VS .NET 2002 (7.0) I get the following error message:
MyServantLocator.cpp: error C2039: 'identityToServant': is no element of 'IceInternal::Handle<T>'
with
[
T=Ice::ObjectAdapter
]
What does this message mean?
Thank you for your reply
0
Comments
-
Hi,
You need to use c.adapter->identityToServant instead.
- Mark0 -
Now it works.
Thanks0