Re: NSTextView and RTF bytes bug in "deployment" build style?
Re: NSTextView and RTF bytes bug in "deployment" build style?
- Subject: Re: NSTextView and RTF bytes bug in "deployment" build style?
- From: The Karl Adam <email@hidden>
- Date: Tue, 12 Apr 2005 11:42:25 -0400
NSData's dataWithBytes:length: takes an unsigned int as it's length
argument, perhaps the compiler is more lax in development mode, but
you should cast to an unsigned int and see if the error goes away.
-Karl
On Apr 12, 2005 8:09 AM, Emmanuel Verlynde
<email@hidden> wrote:
>
> I need to made,
>
> BYTE * bytes... <==== rtf file
> long len = ... <==== rtf file length
>
> [myTextView replaceCharactersInRange:NSMakeRange(0,0)
> withRTF:[NSData dataWithBytes:bytes length:len]];
>
> But this work in development build style and not in deployment???
>
> That is possible?
>
> _______________________________________________
> 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
>
>
_______________________________________________
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