Re: How to get the current classic Sytem folder path?
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.