Sign in Join
Wiki copytemporary

OnGuard: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11### About
22
33This version of OnGuard is port of Turbo Power OnGuard. OnGuard is a library to create demo versions of your Delphi, Kylix and Free Pascal applications. Create demo versions that are time-limited, feature-limited, limited to a certain number of uses, or limited to a certain number of concurrent network users. You could also protect executable file from modification, either by hacker or malware. Most functionality has been tested to work under Windows, Linux and FreeBSD.
44
55It has now been designed for cross-platform applications (Windows, Linux, FreeBSD etc). Pure Object Pascal. However some features are heavy system dependant. OnGuard doesn't depend on the Lazarus LCL, so you could also use it in Command Line, Web or other GUI toolkit applications.
66
77OnGuard is distributed as a source-only package. The download contains the component package for Lazarus + documentation (pdf and hlp file) and probably all original examples ported to Lazarus.
88
99### License
1010
1111[MPL 1.1](http://www.mozilla.org/MPL/MPL-1.1.html)
1212
1313### Download
1414
1515#### Sourceforge version
1616
1717The Lazarus version of OnGuard is hosted on [SourceForge](https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/components/onguard/). Use `SVN` to get the most recent version, or download a zipped snapshot from the same site (https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/components/onguard/).
1818
1919This port orginates back to 2006 and had been abandoned for quite some time. In 2023, however, it received some new updates, and now works with Laz 2.3 / FPC 3.2.2.
2020
2121#### Alternative version
2222
2323Since the OnGuard package on Sourceforge was abandoned for some time, Graeme Geldenhuys had forked the code and started to maintain his own version. Please see his forum message for the reasons why he forked OnGuard: [forum message by Graeme](http://forum.lazarus.freepascal.org/index.php/topic,23495.msg140693.html#msg140693)
2424
2525The code of the alternative version is hosted on Graeme Geldenhuys' [GitHub site](https://github.com/graemeg/onguard) from which it can be cloned by the usual `GIT` commands. Alternatively, you can download a zipped archive from [1](https://github.com/graemeg/onguard/archive/master.zip).
2626
2727The alternative version is also distributed by the [[Online Package Manager|Online-Package-Manager]].
2828
2929### Dependencies / System Requirements
3030
3131- None
3232
3333### Status
3434
3535- Stable
3636
3737### Support
3838
3939A dedicated support newsgroup has been set up for the Free Pascal port of OnGuard. Connection details are as follows:
4040
4141| | Details |
4242|-----------------|------------------|
4343| **NNTP Server** | geldenhuys.co.uk |
4444| **Port** | 119 |
4545| **Group** | onguard.talk |
4646
4747Any News Client (eg: Mozilla Thunderbird, XanaNews, Opera Mail etc) can be used to connect to the news group. This is by far the best option and gives you the freedom to use your preferred news client software.
4848
4949In a pinch, there is also a HTML webnews interface. This interface has some limitations (eg: attachments), but is good enough to read and reply to messages when on the go via a web browser (smartphone or desktop). To access the HTML interface, visit the following URL: [[http://geldenhuys.co.uk/webnews/ http://geldenhuys.co.uk/webnews/]]
5050
5151### Issues
5252
5353- Needs testing to see if this version is compatible with the original OnGuard. But maybe this isn't really an issue anyway.
5454
5555### Installation
5656
5757- Create the directory lazarus\components\tponguard
5858- Ungzip+untar files into the directory
5959- Open lazarus
6060- Open the package tponguard.lpk with Component/Open package file (.lpk)
6161- (Click on Compile only if you don't want to install the component into the IDE)
6262- Click on Install
6363
6464### Usage
6565
6666Read the manual. It's very detailed and contains a lot of samples.
6767
6868### Screenshots
6969
70-<figure>
71-<img src="OnGuard_Code_Generation.png" title="The Code Generation demo included with OnGuard. This screenshot shows a date range restriction, and a key encode modifier, unlocking the application for a specific PC only. This demo uses the fpGUI Toolkit." />
72-<figcaption>The Code Generation demo included with OnGuard. This screenshot shows a date range restriction, and a key encode modifier, unlocking the application for a specific PC only. This demo uses the fpGUI Toolkit.</figcaption>
73-</figure>
70+![](/wiki-images/c/cc/OnGuard_Code_Generation.png)
7471
7572### To Do / Future improvements
7673
7774Here follows a list of possible things to extend or improve OnGuard with:
7875
7976- Test network usage code (NAF file is not locked?)
8077- Better machine ID (based on CPU (mostly unavailable) and HDD physical serial numbers and MAC address for example)
8178- Merge it with HASP USB keys support and others (plugin system?)
8279
8380---
8481*From the Free Pascal wiki, page "OnGuard", as it stood on 2023-02-20 after a change by Bart, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
8582Category: Components
8683Category: Lazarus

Back to history