Author: Dave Crozier
Posted: 2006-05-17 at 07:19:13
Calvin has added more "meat" to his article on multithreading with VFP:
http://blogs.msdn.com/calvin_hsia/archive/2006/05/16/599108.aspx
"Create multiple threads from within your application
When I posted this Sample program to create multiple threads
<http://blogs.msdn.com/calvin_hsia/archive/2006/05/11/595562.aspx> , I knew
the inevitable follow-up question was ââ¬Åcan I run my VFP code in separate
threads?ââ¬Â. Sure enough, several people asked, citing various valid usage
scenarios.
Below is a class that you can use to run your VFP code in multiple separate
threads. It can create as many threads as you like, each of which is running
VFP code. Because it is a multithreaded sample, it requires the
multithreaded runtime, which is just a few megabytes."
Very good reading.
Dave Crozier
Evolution of the .NET programmer:
* 0 months to 1 month: complete beginner
* 1 month to 1 year: incomplete beginner
* 1 year to 2 years: adept
* 2 years to 3 years: expert
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.6.0/341 - Release Date: 16/05/2006