Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread [ThreadProject] - Problem by Adam H.
Tue, Oct 30 2012 12:45 AMPermanent Link

Adam H.




Attachments: threadProject1.zip
Tue, Oct 30 2012 6:15 AMPermanent Link

Ralf Bieber

EDV Dienstleistungen Ralf Bieber




Attachments: ThreadProjekt.zip
Tue, Oct 30 2012 8:23 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Ralf


A few comments

1. I don't like Synchronize because that block the thread until its done

2. I have no idea if the callback FOnProgress runs in the context of the main thread (I'd guess it does) or not. If it does I don't think you need the Synchronize, if it doesn't I'd be concerned

3. Application.ProcessMessages is generally discouraged (I do use it occasionally) but I'm not sure what calling it in a thread, even in a Synchronize will do.

Roy Lambert
Wed, Oct 31 2012 7:35 AMPermanent Link

John Hay

Simplistic example

John





Attachments: project1.zip
Sun, Nov 4 2012 8:52 PMPermanent Link

Adam H.

Second Attempt - how to handle exceptions.



Attachments: Thread Stage 2.zip
Sun, Nov 4 2012 11:34 PMPermanent Link

Raul

Globestar Systems

Team Elevate Team Elevate

On 11/4/2012 8:52 PM, Adam H. wrote:
> Second Attempt - how to handle exceptions.

My sample project - see elevatesoft.public.dbisam.general for posting
related to this

Raul



Attachments: ThreadTest.zip
Mon, Nov 5 2012 12:19 AMPermanent Link

Adam H.

Thread Project (With DPR File included) - sorry.



Attachments: threadproject.zip
Image