int hostSerialNumber
The host application's serial number. Most graphics programs (including Photoshop on Windows) do not support this feature.
The Mac version of Photoshop apparently sets this field to a valid serial number, but on the Windows platforms Photoshop always sets this field to 0.
sprintf(str0, "Your host application serial number is: %d", hostSerialNumber); if (hostSerialNumber == 0) { strcat(str0, "\n\n(This means your graphics program probably\ndoesn't support serial numbers.)"); } Info(str0);