Description: 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
To Search:
File list (Check if you may need any files):
RESOURCE.H
pstattest.clw
StdAfx.cpp
pstattest.rc
StdAfx.h
pstattest.cpp
pstattest.h
pstattestDlg.h
PStat.cpp
pstattestDlg.cpp
RES
...\pstattest.rc2
...\pstattest.ico
pstattest.dsp
pstattest.dsw
Pstat.h
pstat2.gif
pstat.htm
pstat1.gif
@PSC_ReadMe_138_3.txt