Re: [coreaudio] Re: coremidi & codewarrior
Re: [coreaudio] Re: coremidi & codewarrior
- Subject: Re: [coreaudio] Re: coremidi & codewarrior
- From: robert <email@hidden>
- Date: Thu, 21 Feb 2002 10:33:13 +0100
- Mail-followup-to: email@hidden
>
Usually I use FSSpecs to open files (I know I should be using FSRefs now)
>
but in one place, where I link to a library, the library uses fopen. No
>
matter what I do fopen always return zero. I am passing it full path
>
names for example,' MacOSDrive:testfolder:file'.
My guess would be that fopen() uses the Unix semantics for filepaths. Try
this: fopen("/testfolder/file", ...);
You probably cannot use the prefix 'MacOSDrive' either, you'll need to use
the mountpoint where your drive is mounted on.
If MacOSDrive is your bootdisk, this will be just '/', otherwise it depends
on where the drive is mounted; the directory /Volumes might be a good place
to take a look in that case.
robert
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.