How to change MsgRun to eval 2 blocks at the same time?

How to change MsgRun to eval 2 blocks at the same time?

Postby sambomb » Wed Oct 28, 2009 5:35 pm

Hi, I want to change the MsgRun to eval 2 blocks at the same time, what I have to change?

I know that I have to use mult thread, but I dont know what I have to change...

PS.: I use xHarbour 1.1.0 and FWH 8.02
Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
User avatar
sambomb
 
Posts: 388
Joined: Mon Oct 13, 2008 11:26 am
Location: Itaocara - RJ - Brasil

Re: How to change MsgRun to eval 2 blocks at the same time?

Postby Antonio Linares » Mon Nov 02, 2009 7:37 am

Samir,

What do you need to do from each codeblock ?

Why can't you combine them in one single codeblock ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: How to change MsgRun to eval 2 blocks at the same time?

Postby sambomb » Tue Nov 03, 2009 10:32 am

Because is 2 parallel and log tasks... one to index the databases and another to do a backup of the dbfs... while I index I mark a flag telling what dbf can be used for the backup...

Another need is to activate a timer that modify one progress bar while I call one DLL function.. because when I call the DLL function the program simple stop's to wait the the call and don't run the timer properly...
Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
User avatar
sambomb
 
Posts: 388
Joined: Mon Oct 13, 2008 11:26 am
Location: Itaocara - RJ - Brasil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 62 guests