Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Simon Arnold
  Where is Simon Arnold?
 Halifax
 United Kingdom
 Simon Arnold
 To: Craig Moore
  Where is Craig Moore?
 
 United Kingdom
 Craig Moore
 Tags
Subject: RE: VFP6 vs. VFP7 weird DOEVENTS
Thread ID: 16294 Message ID: 16336 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Wednesday, October 16, 2002 6:43:56 PM         
   


> I agree with you Eric it does tie up 100% of the CPU, not sure why, however i have just done a little Google search and found a one liner on West-Wind saying that the speed problem with using Doevents in a tight loop has been fixed in vfp7, not sure what this means.
>
> Craig
>
> > > > Please confirm that VFP7 consumes ~ 100% CPU when running the following code. VFP6 does not. I am affraid I have to downgrade my app to VFP6 if this issue can't be fixed. Does anybody know the solution?
> > > >
> > > > DO WHILE NOT LASTKEY() = 101 && hit e to exit the loop
> > > > 	DOEVENTS
> > > > ENDDO
> > > > 

> > > > --
> > > > Eric den Doop
> > > > www.foxite.com - The Home Of The Visual FoxPro Experts
> > >
> > > Hmmm. I ran it, surfed a bit, read some email and then went back to VFP and Hit "e". Obviously ok on my machine.
> > >
> > > Cheers,
> > > Jamie
> > > jamie.osborn@foxite.com
> >
> > well I can do the same too but the WinXP Task Manager shows almost 100% for the VFP7 process. Also, VFP7 does not process events as it should do if you issue DOEVENTS. IOW: I can't do anything inside the VFP7 process. This behavior is not in VFP6.
> > --
> > Eric den Doop
> > www.foxite.com - The Home Of The Visual FoxPro Experts

I get something similar with XP SP1, VFP 7 SP1 takes about 88-96% of CPU usage, strange ???????

Simon Arnold.


ENTIRE THREAD

VFP6 vs. VFP7 weird DOEVENTS Posted by Eric den Doop @ 10/16/2002 8:44:09 AM
RE: VFP6 vs. VFP7 weird DOEVENTS Posted by Jamie Osborn @ 10/16/2002 8:52:03 AM
RE: VFP6 vs. VFP7 weird DOEVENTS Posted by Eric den Doop @ 10/16/2002 9:03:31 AM
RE: VFP6 vs. VFP7 weird DOEVENTS Posted by Craig Moore @ 10/16/2002 4:28:33 PM
RE: VFP6 vs. VFP7 weird DOEVENTS Posted by Simon Arnold @ 10/16/2002 6:43:56 PM
RE: VFP6 vs. VFP7 weird DOEVENTS Posted by Eric den Doop @ 10/16/2002 7:22:20 PM