• 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: How to convert a path into a 'const UInt8 *path'?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to convert a path into a 'const UInt8 *path'?


  • Subject: Re: How to convert a path into a 'const UInt8 *path'?
  • From: Gus Mueller <email@hidden>
  • Date: Sat, 23 Aug 2003 19:06:19 -0700

R. Ecalcitrance (email@hidden) wrote:
> Anyone know how to convert a path into a 'const UInt8 *path'?
>
> ...I need to make FSRef from an NSOpenPanel path and I was thinking to use
> 'FSPathMakeRef' but it takes a 'const UInt8 *path'. ???

I think if you use [string UTF8String] to make the const UInt8*,
that'll work just fine.

-gus

--
August Mueller
http://flyingmeat.com/
VoodooPad - 1st Place U.S., Second O'Reilly Mac OS X Innovaters Contest
"Christmas means carnage!" -- Ferdinand, the duck
_______________________________________________
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.

  • Follow-Ups:
    • Re: How to convert a path into a 'const UInt8 *path'?
      • From: Chris Hanson <email@hidden>
References: 
 >How to convert a path into a 'const UInt8 *path'? (From: "R. Ecalcitrance" <email@hidden>)

  • Prev by Date: Help me, which book I should buy to learn Cocoa??
  • Next by Date: Adding something to the login items
  • Previous by thread: How to convert a path into a 'const UInt8 *path'?
  • Next by thread: Re: How to convert a path into a 'const UInt8 *path'?
  • Index(es):
    • Date
    • Thread