VC++6.0 multithreading