>> retval = SysGetROMToken (0, sysROMTokenSnum, (BytePtr*) &bufP, &bufLen);
> 
> 
> try it:
> 
> retval = SysGetROMToken (0, sysROMTokenSnum, (BytePtr*) &bufP, &bufLen);
> bufP [bufLen] = '\0';

No don't try this ! SysGetROMToken returns the address of of the serial # in
the ROM, so you can't write to it.
The length of the string is simply given by bufLen.

Reply via email to