On Sat, Jan 3, 2009 at 3:33 AM, nathanpdaniel <ndan...@bsi-scs.com> wrote: > Is there a "primer" on creating asynchronous classes? I've been > building an app that runs a CRC32 check on each file (which requires > looking at every byte of every file). It doesn't cause issues when the > files are small text files, but when they're 40mb video files, the app > hangs till complete. I want the app to be able to update other things > while waiting on the CRC32 functionality completes. Actually, all I > need is some visual progress indicator (some way to update the > display).
I once peeked into the source code of this library and thought it looked promising: http://blog.generalrelativity.org/?p=29 You should be able to split your CRC32 computation into chunks quite easily, either with this library, or with something more basic using just a simple Timer. Manish -- http://manishjethani.com