I have very basic knowledge of C++ and I don't understand completely how this works. I have been trying to use pthreads in order to be able to show a "Please Wait" Dialog while performing a lengthy operation. I have tried the code below but I am getting the following error: error C2440: 'type cast' : cannot convert from 'RCM::Processing ^' to 'void *'. Could you please modify the following code so that the program does what I am looking for without errors? (note that I have pasted the sections of the program I think are useful for someone to provide an answer).