ZeroC

Archived

This forum has been archived. Please start a new discussion on GitHub.

problem with ObjectAdapter::identityToServant

Mr.Freeze
Mr.Freeze
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

Comments

  • mes
    mes California
    Hi,

    You need to use c.adapter->identityToServant instead.

    - Mark
  • Mr.Freeze
    Mr.Freeze
    Now it works.

    Thanks