Recent

Author Topic: Turbopower OnGuard  (Read 2851 times)

Saylo_49

  • New Member
  • *
  • Posts: 43
Turbopower OnGuard
« 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 ?
Lazarus 2.0.2 - FPC 3.0.4 - Win32

wp

  • Hero Member
  • *****
  • Posts: 11858
Re: Turbopower OnGuard
« Reply #1 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.

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Turbopower OnGuard
« Reply #2 on: May 15, 2019, 05:56:47 am »
Read the wiki article. http://wiki.freepascal.org/OnGuard

Thaddy

  • Hero Member
  • *****
  • Posts: 14205
  • Probably until I exterminate Putin.
Re: Turbopower OnGuard
« Reply #3 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.
Specialize a type, not a var.

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Turbopower OnGuard
« Reply #4 on: May 15, 2019, 02:15:23 pm »
There are much more modern - not necessary better - solutions available.

For Lazarus?

korba812

  • Sr. Member
  • ****
  • Posts: 392
Re: Turbopower OnGuard
« Reply #5 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).

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Turbopower OnGuard
« Reply #6 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 and asked Graeme to answer here.

korba812

  • Sr. Member
  • ****
  • Posts: 392
Re: Turbopower OnGuard
« Reply #7 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
« Last Edit: May 16, 2019, 12:35:09 am by korba812 »

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Turbopower OnGuard
« Reply #8 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

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. ;)

 

TinyPortal © 2005-2018