pro_nt_services thread: send() and recv() calls fail in atl service project
Hi, I have a socket function that sends an email. I'm using VC++ 6.0 It works perfectly well in a Win32 Console Application but when I put the function into my ATL COM, type: service, it does not send the mail. I have put the wsock32.lib into the service app and I think everything else is the same. It connects successfully but returns -1 for every recv() and send () call. Can you help? Cheers.
|





