Recent

Author Topic: Turbopower OnGuard  (Read 654 times)

Saylo_49

  • New member
  • *
  • Posts: 33
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: 5842
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.
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

Zoran

  • Hero Member
  • *****
  • Posts: 1423
    • 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: 8197
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.
Read the manuals and if you are a professional get a proper education in computer science. Makes the forum a lot cleaner.

Zoran

  • Hero Member
  • *****
  • Posts: 1423
    • 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

  • Full Member
  • ***
  • Posts: 100
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: 1423
    • 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

  • Full Member
  • ***
  • Posts: 100
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: 1423
    • 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. ;)