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.