Ok, i got my threading program to work i guess, but i had to change some of my code because it wouldnt work the right way with the threading. Lets say i called an if statment, and within that if statement i called the function that calls _beginthread. Well it would keep looping the if statement for some reason over and over again. I dont understand why that is. I got mos tof my code to work, but I had to change it to accomodate the threading.