Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 08-21-2003
Mr.Freeze Mr.Freeze is offline
Registered User
 
 
Join Date: Aug 2003
Location: Germany
Posts: 23
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
Reply With Quote
  #2 (permalink)  
Old 08-21-2003
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 962
Hi,

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

- Mark
Reply With Quote
  #3 (permalink)  
Old 08-21-2003
Mr.Freeze Mr.Freeze is offline
Registered User
 
 
Join Date: Aug 2003
Location: Germany
Posts: 23
Now it works.

Thanks
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Documenting ObjectAdapter::find ctennis Comments 1 01-01-2007 03:03 PM
Question about objectAdapter OrNot Help Center 7 08-31-2005 10:58 PM
Multi ObjectAdapter dashie Help Center 2 12-12-2004 03:39 AM
ObjectAdapter deactivation question/problem brian Help Center 3 07-24-2004 04:50 AM
ObjectAdapter.getLocator() gone in 1.4? brian Help Center 1 06-22-2004 09:56 PM


All times are GMT -4. The time now is 03:55 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.