Hello,
In my application, I use OLE to work together with MS-Word.
While working in Word, my application needs to wait until a button is pushed which end Word.
For waiting, I use this code :
When VActive = .F., the loop is ended and my application continues.
While my application is waiting, I often notice that the processor is used 100 %. This is eventually slowing down other running applications.
Is there a possibility to prevent that the processor is used for 100 % ?
I use Windows XP Professional and Microsoft Office 2003. My PC has 1 GB RAM.
Thanks a lot for any help.
In my application, I use OLE to work together with MS-Word.
While working in Word, my application needs to wait until a button is pushed which end Word.
For waiting, I use this code :
DO WHILE .T.
IF VActive
SYSREFRESH()
LOOP
ENDIF
EXIT
ENDDOWhen VActive = .F., the loop is ended and my application continues.
While my application is waiting, I often notice that the processor is used 100 %. This is eventually slowing down other running applications.
Is there a possibility to prevent that the processor is used for 100 % ?
I use Windows XP Professional and Microsoft Office 2003. My PC has 1 GB RAM.
Thanks a lot for any help.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773