Dec 282017
 
The DEMO program is designed to convert any .EXE or .COM program to a time-limited version of the program.
File DEMO20.ZIP from The Programmer’s Corner in
Category Miscellaneous Language Source Code
The DEMO program is designed to convert any .EXE or .COM program to a time-limited version of the program.
File Name File Size Zip Size Zip Type
DEMO.DOC 5281 2175 deflated
DEMO.EXE 9203 8685 deflated
DEMO.TXT 863 298 deflated

Download File DEMO20.ZIP Here

Contents of the DEMO.DOC file


DEMO Version 2.0

The DEMO program is designed to convert any .EXE or .COM program to
a time-limited version of the program.

DEMO adds a prefix to the program which will allow the program to
be run for a specified number of days from the date of creation.
The prefix can contain text to be displayed whenever the program is
run, and text to be displayed after the expiration period.

This is useful if you wish to distribute demo versions of your
software, or you are in an environment where you would like people
to have access to programs for a while, but not forever. You don't
need to make any changes to the original program to use DEMO.

DEMO makes no alterations to the original program so no potential
bugs are introduced. Once the expiry test is done, all the original
memory is available to the program: no part of DEMO remains in memory.

DEMO is provided as a "shareware" program, meaning that if you wish to
continue to use it and get support, you must register. NO phone calls
or support questions will be accepted without a registration number.

Registration costs $15.00 (CDN) and is available through:

Adlersparre & Associates Inc.
304-1803 Douglas St.
Victoria, BC
Canada, V8T 5C3
Phone: (604) 384-1118
Fax: (604) 384-3363

The way DEMO works is simple. It is run as a program against any .EXE
or .COM program to produce a .EXE program.

The syntax is:

DEMO[/D:nn] [/I:[d:][\path\][file-name] program-name [output-name]

/D:nnspecifies the number of days (1 to 99) from today, after which
the program will produce a message but will no longer run.
If /D: is not given zero is assumed, and there is no expiration.

/I:...specifies the name of a text file (no tabs) containing text. There
are two pieces of text in this file, which may be created with
any text editor.

The first part of the text is surrounded by braces - { }, and will
be displayed every time before original program execution. This can
be a copyright message, or any other message you wish to always
display. This text is optional, and need not be included.

The second part is the rest of the text in the file not surrounded
by braces. This is text which will only be displayed after the
program has expired. A three-day grace period is allowed. This
text is also optional, and need not be specified if the expiration
period was left at zero. Programs which are executed before the
date of creation with DEMO, or three days after the expiration
period are considered to have expired.

The maximum total text size can be 3200 bytes long.

Program-name is the name of the original program which is being converted.
It may be a .EXE or .COM program. If the program is not in the
current directory, the PATH will be searched for the program.

Output-name is the name of the newly created .EXE program. DO NOT USE THE
SAME NAME AS THE PROGRAM-NAME. If no output-name is specified, one
will be made up of the original input name with a dollar sign as
the last character. For example, MYPROG.EXE would become MYPROG$.EXE
if no output-name was given. If the original program-name was eight
characters long, the last character is changed to a $.

Program-name and Output-name may include the drive and path.

Running the DEMO program with no options, or with /? will display a
screen of basic documentation.


More about the text-file.

The text file can contain some special characters. These are used to
display color text on the screen, or to force a wait for a keypress.

The % (percent) character is used to force a wait for a keypress. If
no key is pressed within five (5) seconds, the program continues as though
a key had been pressed.

Other special characters are used to turn colors on and off. These
characters are:

^ - turns magenta on and off
` - turns yellow on and off
| - turns green on and off
@ - turns red on and off
! - turns cyan on and off
# - turns blue on and off
$ - turns white on and off

The text file used when adding a message to this DEMO program is:

{
This is an unregistered version
^DEMO 2.0^To register, contact:

`Adlersparre & Associates Inc.`
`304-1803 Douglas St.`
`Victoria, BC`
`Canada, V8T 5C3`
`Phone: (604) 384-1118`
`Fax: (604) 384-3363`

|Registration is required for support and|
|continued use.|

Press any key to continue (or wait 5 seconds)...

%}

As you can see the special characters are used to turn different colors
on and off. No expiration text is included in this example, since no
expiry period was specified. If some were to be included, it would
follow the closing brace - }.

Please register to use DEMO. Your registration includes support and the
latest version of the software.

We have tried DEMO on hundreds of software programs without problems. A
more advanced version of this program is available for network licensing
and execution statistics. Information and discounts are available to
registered users.


 December 28, 2017  Add comments

Leave a Reply