bundlePath, FSPathMakeRef and FSGetCatalogInfo alias error
bundlePath, FSPathMakeRef and FSGetCatalogInfo alias error
- Subject: bundlePath, FSPathMakeRef and FSGetCatalogInfo alias error
- From: "Emmanuel Verlynde" <email@hidden>
- Date: Wed, 23 Jun 2004 18:03:00 +0200
- Organization: Opendisc
I need to obtain volume reference of device from wich application is started.
If application is started from a cdrom drive, path appears like this:
NSString * appPath = [[NSBundle mainBundle] bundlePath];
appPath <<< "/Volumes/MacMagCD"
But, how FSPathMakeRef can determine good reference if two volumes have the
same name?
example two identical compact disc into two cd-rom drive.
/Volumes/MacMagCD <<< cd-rom drive 1
/Volumes/MacMagCD <<< cd-rom drive 2
Thanks.
_______________________________________________
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.