Using the debugging techniques learned to isolate a single thread, you can show the results of one encryption thread in the Immediate Window. This way, you will be able to explain to the FBI agents what just happened in the encryption procedure. Furthermore, finally, they will be happy with you!
Now, we are going to isolate the thread as we did in a previous example, but using our recently added code to the
Encrypt procedure to show partial results in the Immediate Window as the text is being encoded:
int liThreadNumber = (int)poThreadParameter; in the