If you're talking high level Windows programming, you should look into threads and multithreading. Threads can perform different tasks at the same time (concurrently). Use the Win32 API to create threads, the function is called CreateThread(...), I don't remember the parameters. Here's an example for you: http://msdn.microsoft.com/library/de...ng_threads.asp
Watch out, because threads use the same memory space, and can access the same variables. If they do that at the same time you'll get in trouble. So you might look into Mutex, which is the tool to handle this problem.

Good luck!