Re: How do I open a file with a name like: "Ogg/OpenAL"?
Re: How do I open a file with a name like: "Ogg/OpenAL"?
- Subject: Re: How do I open a file with a name like: "Ogg/OpenAL"?
- From: Bill Bumgarner <email@hidden>
- Date: Mon, 21 Aug 2006 20:03:02 -0700
On Aug 21, 2006, at 7:22 PM, Alan Smith wrote:
I have no idea how to open a file with a name like "Ogg/OpenAL." When
I use Terminal to look at it, it is shown as "Ogg:OpenAL," So, fine,
all I have to do is check for a slash in the name and change that to a
colon. Hopefully that will do it but, what is the fastest way to
replace a character in a string?
As John indicated, the colon vs. slash is just a path representation
issue. It should be irrelevant unless you have fought Cocoa hard
enough to make it relevant.
The real question is two fold:
(1) Where did a file with that name come from? It seems like an odd
file name -- Ogg would imply an "Ogg Vorbis" encoded audio file and
OpenAL is a reference to the Open Audio Library.
(2) What do you mean by "open"? Is it a data file? A plug in? What
are you trying to do with the file once you open it?
b.bum
_______________________________________________
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