Thread

Giganews Newsgroups
Subject:Thread
Posted by: Carlos Matos (mat…@comograma.pt)
Date:Mon, 26 Mar 2007

I have a function that creates a new thread to show a progress bar
on my statusbar of my applications.

I download this unit from a delphi site (ThreadAniProgressBar.pas).
I use this to show a message with a progress bar to show some activity.

What happens is that, for instance, when a load a form, I
show something like "Loading tables...wait please..." with the progress bar,
it takes to long to enter or load the form.

if I execute the command "imagecfg -a 0x1 C:\Programas\MyApp\MyApp.exe",
everything is normal.

Why this happens? Is something to do with Hyperthreading? Like with
Interbase 6?

Is the another way to solve this? Delphi 2007 will correct this?

Thanks,
Carlos Matos

Replies