Anyone have any problems with this and winsock?
It would be really awesome to use this but I am getting some of the following and lots more.
IncludePath\WinSock2.h(109) : error C2011: 'fd_set' : 'struct' type redefinition
IncludePath\WinSock.h(54) : see declaration of 'fd_set'
IncludePath\WinSock2.h(144) : warning C4005: 'FD_SET' : macro redefinition
IncludePath\WinSock.h(88) : see previous definition of 'FD_SET'
IncludePath\WinSock2.h(153) : error C2011: 'timeval' : 'struct' type redefinition
IncludePath\WinSock.h(97) : see declaration of 'timeval'
IncludePath\WinSock2.h(209) : error C2011: 'hostent' : 'struct' type redefinition
IncludePath\WinSock.h(153) : see declaration of 'hostent'
IncludePath\WinSock2.h(222) : error C2011: 'netent' : 'struct' type redefinition
IncludePath\WinSock.h(166) : see declaration of 'netent'
IncludePath\WinSock2.h(229) : error C2011: 'servent' : 'struct' type redefinition
IncludePath\WinSock.h(173) : see declaration of 'servent'
IncludePath\WinSock2.h(241) : error C2011: 'protoent' : 'struct' type redefinition
IncludePath\WinSock.h(185) : see declaration of 'protoent'
IncludePath\WinSock2.h(397) : error C2011: 'sockaddr_in' : 'struct' type
I shortened the include path from c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include to IncludePath to make it more readable.
I originally had the same problem as the others with VS .NET 2003 without the \ at the end of the #import, now I am getting this.
If I instead do the #import after the thing I have that includes winsock I get
ProjectPath\msado15.tlh(893) : error C2146: syntax error : missing ';' before identifier '_NewEnum'
ProjectPath\msado15.tlh(893) : error C2501: 'ADODB::_Collection::IUnknownPtr' : missing storage-class or type specifiers
ProjectPath\msado15.tlh(893) : warning C4183: '_NewEnum': missing return type; assumed to be a member function returning 'int'
ProjectPath\msado15.tlh(1136) : error C2146: syntax error : missing ';' before identifier 'DataFormat'
ProjectPath\msado15.tlh(1136) : error C2501: 'ADODB::Field20::IUnknownPtr' : missing storage-class or type specifiers
ProjectPath\msado15.tlh(1136) : error C2501: 'ADODB::Field20:

ataFormat' : missing storage-class or type specifiers
ProjectPath\msado15.tlh(1158) : error C2146: syntax error : missing ';' before identifier 'GetDataFormat'
...basically it has no idea what a IUnkownPtr is and im not sure why.
As a side note, the article is very cool and looks to be very promising, much easier/flexible than what I was using.