C
Cliff Cooley
I'm trying to compile a VC++7 application from code loaded
from a VC++6 project, but I keep getting the following
compiler warning ->
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\PlatformSDK\Include\MSWSock.h(239) : error C2146: syntax
error : missing ',' before identifier 'OPTION'
which relates the following typedef in the standard
MSWSock.h header file ->
typedef
BOOL
(PASCAL FAR * LPFN_CONNECTEX) (
IN SOCKET s,
IN const struct sockaddr FAR *name,
IN int namelen,
IN PVOID lpSendBuffer OPTIONAL,
IN DWORD dwSendDataLength,
OUT LPDWORD lpdwBytesSent,
IN LPOVERLAPPED lpOverlapped
);
Any ideas why this is happening ?
Many thanks
Cliff Cooley
from a VC++6 project, but I keep getting the following
compiler warning ->
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
\PlatformSDK\Include\MSWSock.h(239) : error C2146: syntax
error : missing ',' before identifier 'OPTION'
which relates the following typedef in the standard
MSWSock.h header file ->
typedef
BOOL
(PASCAL FAR * LPFN_CONNECTEX) (
IN SOCKET s,
IN const struct sockaddr FAR *name,
IN int namelen,
IN PVOID lpSendBuffer OPTIONAL,
IN DWORD dwSendDataLength,
OUT LPDWORD lpdwBytesSent,
IN LPOVERLAPPED lpOverlapped
);
Any ideas why this is happening ?
Many thanks
Cliff Cooley