Click to See Complete Forum and Search --> : Stupid Question


DC2003
December 10th, 2003, 08:48 PM
Hi

I am writing a dll in VC++ .net, and declaring the CSocket as:

CSocket sockMySocket;

I am getting compilation error saying "CSocket" is an undeclared identifier. Any clues why I am getting this error?

Thanks
DC

vicodin451
December 10th, 2003, 10:09 PM
Did you:

#include &ltafxsock.h&gt
?