• 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
Re: NSTextView and RTF bytes bug in "deployment" build style?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSTextView and RTF bytes bug in "deployment" build style? (From: "Emmanuel Verlynde" <email@hidden>)

  • Prev by Date: Re: NSSpellChecker crashes after 64k words
  • Next by Date: Re: WWDC2k5 and ROI
  • Previous by thread: NSTextView and RTF bytes bug in "deployment" build style?
  • Next by thread: copy/paste
  • Index(es):
    • Date
    • Thread