FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to change MsgRun to eval 2 blocks at the same time?
Posts: 389
Joined: Mon Oct 13, 2008 11:26 AM
How to change MsgRun to eval 2 blocks at the same time?
Posted: Wed Oct 28, 2009 05: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: How to change MsgRun to eval 2 blocks at the same time?
Posted: Mon Nov 02, 2009 07: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
Posts: 389
Joined: Mon Oct 13, 2008 11:26 AM
Re: How to change MsgRun to eval 2 blocks at the same time?
Posted: 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

Continue the discussion