Re: EXC_BAD_ACCESS error
Re: EXC_BAD_ACCESS error
- Subject: Re: EXC_BAD_ACCESS error
- From: Jerry <email@hidden>
- Date: Mon, 21 Aug 2006 18:34:14 +0100
On 21 Aug 2006, at 18:13, Ronald Lingl wrote:
Hiya,
I am getting an EXC_BAD_ACCESS error in my application on the PPC
version but not on the Intel version. I read in a WIND resource, save
the visible field to a variable, then set the visible field to FALSE.
Trying to set the field to FALSE is what causes the error. I am using
the same project and source files on both computers. I have tried
other
resource types and any field I try to modify causes the error. I have
checked all the xcode setting for the project and target and I find
nothing that would cause the problem.
This is only happening in one application. There are other projects
where the resources can be modified fine.
Any one have any idea what I could try to fix this?
It's because your resource file is mapped into memory so you can't
modify resources you've read in. You can turn this off. See http://
developer.apple.com/documentation/Performance/Conceptual/FileSystem/
Articles/MappingFiles.html.
The resource can't be mapped on Intel due to byte-order.
Jerry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden