• 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 get the current classic Sytem folder path?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get the current classic Sytem folder path?


  • Subject: Re: How to get the current classic Sytem folder path?
  • From: Steven Frank <email@hidden>
  • Date: Thu, 6 Mar 2003 17:52:46 -0800

On Thursday, March 6, 2003, at 05:37 PM, Daniel Jalkut wrote:

That should work, and is the "correct" way to locate it. Make sure the classic system folder you have configured actually works (e.g. boots to completion on launching a classic app) and if it does, and is still not being returned by FindFolder, you should file a bug with Apple.

Daniel

On Thursday, March 6, 2003, at 04:39 AM, TACKEL wrote:

But I get: "\\006Systems" Not "/System Folder" that is what I'm looking for.

Actually, it looks like TACKEL is getting back a Pascal string, rather than a C string. (Pascal strings begin with a length byte (0-255) followed by that many characters. They are widely used by "classic" Mac OS APIs.)

If you shuffle the bytes around so that it is a C string (characters, terminated by a NULL), I expect it would work fine.

Steven
http://stevenf.com/
_______________________________________________
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 get the current classic Sytem folder path?
      • From: Greg Robbins <email@hidden>
References: 
 >Re: How to get the current classic Sytem folder path? (From: Daniel Jalkut <email@hidden>)

  • Prev by Date: Re: How to get the current classic Sytem folder path?
  • Next by Date: Re: Intercepting every keystroke
  • Previous by thread: Re: How to get the current classic Sytem folder path?
  • Next by thread: Re: How to get the current classic Sytem folder path?
  • Index(es):
    • Date
    • Thread