Whats the correct way to use CreateThread ? can somebody give me a tutorial, or a sample app in c++ ?