Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 01-29-2007
gumshoe gumshoe is offline
Registered User
 
Name: Ruedi Eder
Organization: Enbridge
Project: Enterprise wide IPC framework.
 
Join Date: Dec 2006
Posts: 18
using Ice::ObjectPrx as a slice datatype

I want to do the following in my slice file:

void registerApp(Ice::ObjectPrx* proxy);

But I get the error `Ice::ObjectPrx' is not defined.

Which Ice file must I include in order to get this to work? Greping for ObjectPrx through *.ice in slice/Ice yields nothing.

Thanks.
Reply With Quote
  #2 (permalink)  
Old 01-29-2007
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
ObjectPrx is a programming language type, not a Slice type. Just use:

Code:
void registerApp(Object* proxy);
Object* maps to Ice::ObjectPrx in C++.
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
Can ObjectPrx.toString() more clever rc_hz Help Center 8 11-28-2006 10:08 AM
How to change the ObjectPrx transparently in the Client side kongchoy Help Center 3 03-13-2006 03:49 AM
Question of forwarding ObjectPrx in Servant Locator kongchoy Help Center 6 02-17-2006 08:26 PM
Adding ProxyToString to ObjectPrx DeepDiver Comments 6 07-21-2005 04:50 AM
File datatype nsns Comments 4 11-05-2004 09:42 PM


All times are GMT -4. The time now is 09:42 AM.


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.