Introduction - If you have any usage issues, please Google them yourself
PStat v1.2--a generalized framework for executing a lengthy operation in a thread. For developers who use MFC, this is a freeware module which provides a single easy to use function which allows one of your functions to be executed in a separate thread. The sample application included with PStat allows you to calculate the 100,000th prime number both with and without pstat. When executed without pstat you will notice that the sample application becomes totally hung and fails to respond to window messages. With pstat you have no such problems. The function PStat provides allows a number of values to be modified, these include the caption to use on the progress dialog and the priority to use when executing the thread. The enclosed zip file contains source for the routine and also includes a VC 5 workspace file to build a small dialog based app which calculates the 100,000th prime number both with and without pstat. PJ Naughter at http://indigo.ie/~pjn/index.html