Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.
winsock send mail
If that's all it gives you then I really can't tell what the problem could be. My only guess is some of the settings are wrong. Did you link the library needed for sockets? Furthermore I don't see any header file included for handling sockets and such, unless windowsx.h or winuser.h includes it, never used them. Could you post the compile log? Might give a little bit more insight into this. I'm presuming you can compile other programs without problems, right?