• 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
EVEN more MLTE Issues - Error -50?!?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EVEN more MLTE Issues - Error -50?!?


  • Subject: EVEN more MLTE Issues - Error -50?!?
  • From: Skip Haughay <email@hidden>
  • Date: Thu, 24 Jul 2003 14:45:56 -0400

Here's another one. I did the following call to get back data from my TXNObject:

err = TXNGetDataEncoded( textObject, kTXNStartOffset, kTXNEndOffset, &hText, kTXNUnicodeTextData );

I was under the impression that this would give me my data back in Unicode. I get an OSStatus code of -50. Searching the headers, this is not an MLTE specific error, but a "Bad Parameter"?

Um, ok, what's bad about this? Changing the kTXNUnicodeTextData to kTXNTextData gets rid of this problem.


Skip
_______________________________________________
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.

  • Prev by Date: pure virtual methods?
  • Next by Date: NSPoint location of the status menu
  • Previous by thread: Re: pure virtual methods?
  • Next by thread: Re: Question about loading nib (RE: accessing view in a nib)
  • Index(es):
    • Date
    • Thread