Recent

Author Topic: Thread Component (Win & X-System)  (Read 6776 times)

six1

  • Full Member
  • ***
  • Posts: 119
Thread Component (Win & X-System)
« on: May 27, 2014, 06:56:07 pm »
Hi,
i just needed a Thread Component for my work on Fingerprint reading.
The original Code was from Greg Lorriman/UK, but i can't contact him, i don't know if he's still alive.

So there is no Copyright Problem at all, because i publish all sources as Freeware.
I expanded the Thread Code a little bit. New is the ThreadEND Event. It is fired, when Thread ends.

Component is working under Windows AND Linux.
For Linux use, don't forgett to activate   "cthreads"! (Most important)

Use is very simple:

Install Component in Lazarus.
In Component Palette "System" there is the new Component "TGFGLEasyThread"
Drop it on your Form.

Event "EXEC"
  your Code to process during thread

Event "OnEnd"
  will be called, after Thread is ending
 
Start Thread:
  ComponentName_Thread.Start;

Stop Thread:
  ComponentName_Thread.Stop;



regards, Michael
« Last Edit: May 28, 2014, 01:15:35 pm by six1 »

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Thread Component (Win & X-System)
« Reply #1 on: May 27, 2014, 08:17:15 pm »
The original Code was from Greg Lorriman/UK, but i can't contact him, i don't know if he's still alive.

So there is no Copyright Problem at all, because i publish all sources as Freeware.
1. In most countries, if the original author lives or has not been dead for a certain amount of years - multiple decades, 30 or 70, can't remember, copyright stays assigned to that person. So it can be a problem.
2. Apart from copyright, the author may have given out a license for use. That license determines what you can do with it. If you have no license/permission to use it, you may not publish the code.

What license did the original author use to release the code?
« Last Edit: May 27, 2014, 08:20:13 pm by BigChimp »
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Thread Component (Win & X-System)
« Reply #2 on: May 27, 2014, 08:19:40 pm »
If this is the original license from the author:
Quote
TGFGLEasyThread copyright Greg Lorriman 1998 greg@lorriman.demon.co.uk

License : Freeware. Modify only if your modifications are clearly marked.
Please contact the author with improvements.

Distibution : Reasonable distribution charge only. All files in the
original archive must be supplied, and must be unmodified.
Original archive is available from :

   http://www.lorriman.demon.co.uk


You must not publish modifications to this component without prior permission.
It seems to say:
1. You may use the code.
2. You may modify the code (IF you clearly mark your changes)
3. You may NOT publish the code/put it on a website/a forum without prior permission.

but...
Quote
2014-05 Component for Lazarus. Michael Koecher aka six1
        New: ThreadEnd Event
you probably modified it and published it, which would be against the license (as I read it).
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

six1

  • Full Member
  • ***
  • Posts: 119
Re: Thread Component (Win & X-System)
« Reply #3 on: May 27, 2014, 09:20:30 pm »
... can't get Contact to Greg Lorriman. He was very active 10 to 15 years ago... but all his domains are gone.
I will give it a further try...

Rails

  • Guest
Re: Thread Component (Win & X-System)
« Reply #4 on: May 27, 2014, 11:32:54 pm »
Facebook and LinkedIn both claim he is a member. LinkedIn would claim Attila the Hun as a member if they thought it would get you to click on their link, so I'm not sure how reliable their claim is. Facebook proabaly isn't much better, but you could give them a try if you are a member.

He seems to have been in the UK based on his old ISP.  You might try looking for UK email addresses for Greg Lorriman and shooting emails to any you come across on the chance one of them will be correct.
« Last Edit: May 27, 2014, 11:36:42 pm by Rails »

six1

  • Full Member
  • ***
  • Posts: 119
Re: Thread Component (Win & X-System)
« Reply #5 on: May 28, 2014, 07:13:38 am »
i made an account on LinkedIn... to see, that Greg Lorriman wasn't active for a long time. To contact him on LinkedIn email, i had to upgrade account to "premium".
Think that there is no actual email behind as all the email addresses on web are obsolet...

If i will see a chance, i will contact Greg Lorriman as soon as possible.
The only reason i published the Component is, that users are able to find and use a good functional Thread Component for Lazarus.
I've marked changes and download content is with Greg Lorrimans original License.

If any objections are made, so the admins should cancel  the contribution.

best, michael

JD

  • Hero Member
  • *****
  • Posts: 1913
Re: Thread Component (Win & X-System)
« Reply #6 on: May 28, 2014, 12:49:13 pm »
Facebook and LinkedIn both claim he is a member. LinkedIn would claim Attila the Hun as a member if they thought it would get you to click on their link, so I'm not sure how reliable their claim is.

Very funny & so true.  :D On a more serious note, "missing" original developers can be a pain. I found a free (with source) SmartThreadLib manager who's author no longer develops it (since 2002) but placed restrictions on its usage. I haven't been able to contact him to see it he can relax the restrictions. It is still on my to-do list.
« Last Edit: May 28, 2014, 12:54:28 pm by JD »
Linux Mint - Lazarus 4.6/FPC 3.2.2,
Windows - Lazarus 4.6/FPC 3.2.2

mORMot 2, PostgreSQL & MariaDB.

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: Thread Component (Win & X-System)
« Reply #7 on: May 28, 2014, 01:53:11 pm »
All programmers are mortal, so sometimes you will not be able to contact someone because s/he is dead. Facebook and LinkedIn can be misleading in this case - years out of date. Sometimes people who had a very public persona a decade or so ago change their minds, and don't want to be contacted; and so appear to be dead, even though (for a few years anyway) they are still alive.

 

TinyPortal © 2005-2018