Hi,
 
it's very easy, and works great for me. place indeed a JvThread  on your
form.
and give it a name
 
in the properties, select the OnExecute 
and place your code in it.
 
now to call it is easy
let's say if you name it like  MyMainThread
 
then all you do is
 
MyMainThread.Execute(self);   
 
somewhere in your procedure.
 
that's all
 
  hope this helps.
    
   Perry
 
 
 
 

  _____  

From: [email protected] [mailto:[email protected]] On Behalf
Of Rick Atkeson
Sent: Monday, November 09, 2009 4:28 PM
To: [email protected]
Subject: Re: [delphi-en] Is this possible?


  

I am sorry but I don't have your answer. However I do have a question for 
you if you don't mind I was thinking of using this very object on a program 
I have but could not find any docs on how to use it so so far I have not 
tried it. Is it as simple as putting the object on the form. to create the 
thread on all forms in your project ?

Any of you have on JVthread would help maybe you can point to where I should

look ? Looked on the internet and so far could not find any info on this 
object.

Thank you and anyone else that might be of help.

Rick

----- Original Message ----- 
From: <pkappet...@charter. <mailto:pkappetein%40charter.net> net>
To: <delphi...@yahoogrou <mailto:delphi-en%40yahoogroups.com> ps.com>
Sent: Monday, November 09, 2009 2:56 PM
Subject: [delphi-en] Is this possible?

> Is it possible to set in Delphi
> the amount of processors to use for your program?
>
> I am using 2 processors and running into problems with threading,
> and would like to set it, so it's only using 1 processor for some of the 
> threads.
> I am using the JVThread frm JVCL
>
> Thanks
>
>
> ------------------------------------
>
> -----------------------------------------------------
> Home page: http://groups. <http://groups.yahoo.com/group/delphi-en/>
yahoo.com/group/delphi-en/
> To unsubscribe: delphi-en-unsubscri
<mailto:delphi-en-unsubscribe%40yahoogroups.comYahoo>
[email protected]! Groups Links
>
>
>






[Non-text portions of this message have been removed]

Reply via email to