I'm in the process of moving one of my company's apps to a 64-bit environment, and thus do not have access to FSSpec functions any longer.

We have some data structures in our file format that saved off a vRefNum and dirID from the old FSSpec format into the file... In the past we were able to use carbon routines, going from FSSpec to FSRef and finally to CFURL, but the FSSpec routines are ont available at all in 64 bit, and even the FSRef ones are deprecated as of 10.9.

Internally we are using CFURL/NSURL but would still like to support conversion to and from these older file formats. Is there any way, using non-deprecated (or at least 64-bit friendly) routines I can get between a vRefNum and dirID to and from a CFURL?

Thanks much.