Re: Problems with NSString: initWithCString
Re: Problems with NSString: initWithCString
- Subject: Re: Problems with NSString: initWithCString
- From: Ondra Cada <email@hidden>
- Date: Thu, 28 Mar 2002 12:40:53 +0100
On Thursday, March 28, 2002, at 07:54 , Andrew Baldwin wrote:
searchString = [[NSString alloc] initWithCString:&(aBuffer[2]);
Save that here is a syntactical error so that this would not be compiled..
.
I get the following error when debugging:
"Unable to determine target of Objective-C method call (ignoring):
Error accessing memory address 0x3: Invalid argument"
...this looks like all hell broke before, like some usage of uninitialized
pointer wrote over data, and you are seeing only results??? Is the error
utterly deterministical?
If you can make a ten-or-so lines programmlet which has the problem as
well, send it to me, and I'll have a look.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.