Lazarus

Programming => Packages and Libraries => Topic started by: Saylo_49 on May 14, 2019, 08:32:42 pm

Title: Turbopower OnGuard
Post by: Saylo_49 on May 14, 2019, 08:32:42 pm
Hello

I found in the Lazarus CCR on sourceforge a component named OnGuard
According to the provided Readme file it is a lazarus port of the Delphi version of the Turbopower OnGuard

The SourceForge version is dating of 2006
While there is this (https://github.com/graemeg/onguard) which last commit is in Nov 5, 2015

My question is :
Did anyone tried this beautiful package before and had a good or bad experience to share ?
Title: Re: Turbopower OnGuard
Post by: wp on May 15, 2019, 12:10:19 am
I've never used the OnGuard components myself, but TurboPower always has provided nice manuals from which you certainly get the idea how to use the components. A copy of the OnGuard manual is included in folder "docs" of the installation or at https://sourceforge.net/projects/tponguard/files/tponguard_docs/1.15/. Note that these are for the Delphi version, but it should not be too much different from the Lazarus port.

My personal experience with other Turbo Power components is ambivalent: On the one side they certainly were great components in their time and still today they offer some interesting additions to the standard component set. But sometime they appear to be outdated 20 years later to some degree and suffer from lacking support during these years. Since they are much Windows-centered the Lazarus ports have some problems here and there. But knowing their deficiencies they certainly are worth a try.
Title: Re: Turbopower OnGuard
Post by: Zoran on May 15, 2019, 05:56:47 am
Read the wiki article. http://wiki.freepascal.org/OnGuard
Title: Re: Turbopower OnGuard
Post by: Thaddy on May 15, 2019, 08:56:12 am
Did anyone tried this beautiful package before and had a good or bad experience to share ?
Lot's of professionals have used this as a stock solution over the past 20 years.
After it became open source it soon became available for Lazarus too.

But note: by now it starts to show its age.... There are much more modern - not necessary better - solutions available.
Title: Re: Turbopower OnGuard
Post by: Zoran on May 15, 2019, 02:15:23 pm
There are much more modern - not necessary better - solutions available.

For Lazarus?
Title: Re: Turbopower OnGuard
Post by: korba812 on May 15, 2019, 02:55:31 pm
I advise against the use of Graeme's modified OnGuard. Greame modified the TCode record (added "InvalidCount" field) and now exceeds 8 bytes, so the last two bytes are not protected (you can specify any value of the last 2 bytes and will be accepted as valid).
Title: Re: Turbopower OnGuard
Post by: Zoran on May 15, 2019, 08:31:15 pm
I advise against the use of Graeme's modified OnGuard.

Hello, Korba812,
What would you recommand to be used instead?

Greame modified the TCode record (added "InvalidCount" field) and now exceeds 8 bytes, so the last two bytes are not protected (you can specify any value of the last 2 bytes and will be accepted as valid).

I reported this to OnGuard newsgroup (http://wiki.freepascal.org/OnGuard#Support) and asked Graeme to answer here.
Title: Re: Turbopower OnGuard
Post by: korba812 on May 15, 2019, 09:04:26 pm
I made a fork from Graeme version and removed the "InvalidCount" stuff. It seems to work but I use only basic functions (not components).
https://github.com/michalgw/onguard (https://github.com/michalgw/onguard)
Title: Re: Turbopower OnGuard
Post by: Zoran on May 15, 2019, 09:44:31 pm
I made a fork from Greame version and removed the "InvalidCount" stuff. It seems to work but I use only basic functions (not components).
https://github.com/michalgw/onguard (https://github.com/michalgw/onguard)

Thank you.
I hope Graeme will join this conversation soon and include your changes in his version.
Well, that is... if really needed.

It's just that I prefer having it in one place, all improvements there. Sometimes not possible... So, forking had to be invented. ;)