-
July 1st, 2009, 12:56 PM
#1
Create Thread problem
Hello, I'm creating a server type program to monitor several client programs with multithread coding. I'm having a difficulty with the CreateThread function. Rather than calling the appropriate function from WinBase.h, it calls a different version of CreateThread that returns a BOOL instead of a Handler, located in afxwin.h. I've tried directly referencing WinBase.h before the function as well as including it in the header. Is this a difficulty with Visual studio or the code? Any help on solving the problem would also be welcome.
-
July 1st, 2009, 01:17 PM
#2
Re: Create Thread problem
Use ::CreateThread() if you don't need MFC function.
-
July 1st, 2009, 03:04 PM
#3
Re: Create Thread problem
Have a look at this thread
Victor Nijegorodov
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|