Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insufficient memory error / ascertain the processor type & speed

Status
Not open for further replies.

yorkie

Programmer
Oct 6, 2000
2
GB
How can the computer's processor type and speed be determined from Foxpro for Windows 2.6a?, I've seen the sys(17) - Processor in use, but this just returns 80486.

The reason is I'm trying to work around the Insufficient memory error filling list boxes with > 600 items caused by fast processors. I'm inserting a simple FOR...ENDFOR delay loop to occupy the processor which works o.k., but I want to relate the number of loops to the processor being used to slow it down proportionally.

Is there an API system interface in Foxpro for Windows 2.6a?, and is there an alternative method to cure the error?.(I'm new to Foxpro programming!) [sig][/sig]
 
Instead of the for next loop try
=inkey(0.1)

Here is a web site for Windows API routines.
[sig]<p>David W. Grewe<br><a href=mailto:Dave@internationalbid.net>Dave@internationalbid.net</a><br>[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top