SERIALISATEUR

PicBasic and PicBasic Pro are high quality compilers by Melabs for the Pic range of Microchip microcontrollers, especially when used through the excellent MicroCode Studio development interface.

For in-house purposes I have written a Delphi program whose role is to create an include file containing the following information:

- Incremental serial number
- Compile date information
- Software version information
- A free format window may be used for entering any allowable code.

How to use the program:

- unzip it into a directory of your choice.

- create a link to serialisateur.exe and launch the program

- if you get a "requires vclsmp50.bpl" message", then you need to copy the included file "vclsmp50.bpl" into "C:\WINDOWS\SYSTEM" where it belongs (it is a Borland Delphi 5 file that may also reside in the same folder as "serialisateur" if it is not used by other programs written in Delphi). Thanks to Pete for stressing the problem.

- using the top right button, browse to the directory where you PicBasic application resides, choose an existing file previously created by serialisateur, or, if none exists, chose a name for the included file you want to create; default is SerInfo.bas in "Serialisateur"'s directory, the name does not matter but the extension shoud be either ".bas" or ".inc".

- check or uncheck the three checkboxes according to what information you need among Serial Number, Compilation date information or Software Version information.

- add text to the free format window: this should be acceptable syntax for PicBasic or PicBasic Pro, i.e. comments, constants, symbols, defines and variable definitions or labels and instructions; of course no syntax checking is done. The window may be empty if no code addition is necessary.

- save (refresh) the output file using the "save" button.
Each time you'll increment the SN the file will be rewritten; after doing so you may recompile you application using Microcode Studio or Code Designer or any other development environment; each ".hex" file obtained that way will carry a new serial number.

All values for SN# or Major/Minor version numbers can be modified freely; compilation date is obtained from the operating system in real time.

Feel free to use this program at will, please suggest any improvement you'd have in mind. 
