how do we create thread with visual studio for window

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2008
Posts: 2
Reputation: trembb22 is an unknown quantity at this point 
Solved Threads: 0
trembb22 trembb22 is offline Offline
Newbie Poster

how do we create thread with visual studio for window

 
0
  #1
Jun 11th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,357
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1463
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: how do we create thread with visual studio for window

 
0
  #2
Jun 11th, 2008
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.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 2
Reputation: trembb22 is an unknown quantity at this point 
Solved Threads: 0
trembb22 trembb22 is offline Offline
Newbie Poster

Re: how do we create thread with visual studio for window

 
0
  #3
Jun 11th, 2008
thanks, I learn today how to use it and found many interesting things related.
thanks again
Benoit
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC