Hmm.. you must have done which broke the interface compatibility of your project and mswinsock... the reason might be over-writing of ocx with any older version....(or maybe newer)...