Could you show us what you have so far...
gerard4143
Nearly a Posting Maven
2,272 posts since Jan 2008
Reputation Points: 512
Solved Threads: 387
Yeah, right - thanks for spamming the board with your untagged code :( :@
Salem
Posting Sage
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
You will want to use _beginthreadex () to create the two threads. Scroll down to the bottom of that link and it will show you an example of how to create the thread and wait for the thread to exit. After the thread ends call GetExitCodeThread () to get its return value. Those functions are declared in and
The program instructions also state that you have to pass several variables to those threads. The only way you can do that is to create structures to hold the values and pass a pointer to the structure instance as the parameter to _beginthreadex().
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343