• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
C++/ObjC Distributed Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

C++/ObjC Distributed Objects


  • Subject: C++/ObjC Distributed Objects
  • From: David McGavran <email@hidden>
  • Date: Tue, 17 Jan 2006 00:50:43 +0100

I have the following protocol that I connect to through objc distributed objects:

@protocol ObjA
- (void)getName: (std::string*) cstring;
@end

if I connect to it via:

std::string fred;
[obja getName:&fred];

It works if the client and server are both written in xcode. However if the server is written in CW it doesn't work. Is this just a bad idea? Or am I doing something else wrong. If I can guarantee that both client/server are compiled with the same xcode would this be safe? I assume I am supposed to use NSString.

Cheers

Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: C++/ObjC Distributed Objects
      • From: John Stiles <email@hidden>
  • Prev by Date: Re: Ligatures - or more so not ligatures
  • Next by Date: Re: Ligatures - or more so not ligatures
  • Previous by thread: NSProtocolChecker help
  • Next by thread: Re: C++/ObjC Distributed Objects
  • Index(es):
    • Date
    • Thread