[Jprogramming] GUIDs on Macs
David Neil Murphy
dnmurphy at gmail.com
Wed Apr 25 03:07:41 HKT 2012
I haven't done it myself but mac doesn't have GUIDs per se, they are known
as UUIDs. They are handled in Core Foundation, by the CFUUID library. The
function to create one is
CFUUIDCreate<http://Developer.Apple.Com/documentation/CoreFoundation/Reference/CFUUIDRef/Reference/reference.html#//apple_ref/c/func/CFUUIDCreate>.
There are a number of responses in this stack overflow thread
http://stackoverflow.com/questions/291868/is-there-a-method-to-generate-a-standard-128bit-guid-uuid-on-the-mac.
NOt seen anything that says how you can access the MAC code from J though.
On Tue, Apr 24, 2012 at 7:49 PM, John Baker <bakerjd99 at gmail.com> wrote:
> How are GUIDS generated on the Mac? The J library shows how to do this on
> Windows and Linux but I haven't seen any Mac'y examples.
>
> --
> John D. Baker
> bakerjd99 at gmail.com
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
More information about the Programming
mailing list