Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Protection Plus for Clipper - <u>pp_serial()</u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PP_SERIAL()
Return the product serial number
------------------------------------------------------------------------------

Syntax
  PP_SERIAL()  .  cString

Returns
  Serial number as a string, "ERROR" or "ZZZZZZ".

Description
  Returns the serial number of the product.  If hard-coded serial
  numbers is used, this number is returned.  Otherwise the serial
  number in the control file is returned.  If hard-coded serial
  numbers is not being used and the control file is corrupted,
  "ERROR" will be returned.  If either method is used, but the
  product has not been stamped with PROPLUS.EXE, "ZZZZZZ"
  will be returned.

  NOTE:  This function MUST be included in your source code
  if you intend on using copy protection.  Whether or not you
  display the actual number, you must include it so that the
  application is stamped as unique.  If you do not use copy
  protection, however, it is not required.

Example

@ 4,2 say "Serial: "+pp_serial()

See Also: PP_COMPNO()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson