Re: NSMutableString byref + Distributed Objects = crash?
Re: NSMutableString byref + Distributed Objects = crash?
- Subject: Re: NSMutableString byref + Distributed Objects = crash?
- From: Jim Correia <email@hidden>
- Date: Thu, 27 Oct 2005 17:08:14 -0400
On Oct 27, 2005, at 5:00 PM, Jim Correia wrote:
I have an object vended via DO. It has a method
- (void)mutateString:(byref NSMutableString *)string
{
[string appendString: @"+mutation"];
}
When I call this via a proxy in another app, the DO server app
crashes (EXC_BAD_ACCESS)
FWIW, if I do the same thing with an NSMutableDictionary, everything
works as expected.
- (void)mutateDictionary:(byref NSMutableDictionary *)dict
{
NSLog(@"we mutated the dict");
[dict setObject: @"new object" forKey: [[NSDate date]
description]];
}
Jim
_______________________________________________
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