How do we create a thread with visual studio for windows. I would like to know how can we manipulate thread in a windows program using Visual Studio Ver 6 and Visual Studio 2005 and 2008 for windows 98, XP and Vista.

I know how to play with threads using fork(), wait() under unix/linux but I dont have any idea how to do it with Microsoft stuff.

thanks for you help

Benoit

win32 api function CreateThread(). Its the same for all versions of the compiler. Just look it up in MSDN for parameters -- most parameters can be 0.

thanks, I learn today how to use it and found many interesting things related.
thanks again
Benoit

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.