Joe Orton wrote:This is quite plausible; winsock2.h probably has something like: #define socket blahsocketso it will not be possible to link against the "socket" symbol directly, though it would be for "blahsocket". I'd suggest checking through winsock2.h looking for such a #define. (and possibly any header included by winsock2.h) socket is defined as WINSOCK_API_LINKAGE SOCKET PASCAL socket(int,int,int). The import piece is PASCAL, which is defined as __stdcall. The calling convention changes the name decoration of the exported function. For example, this code links fine: int main()Would you like for me to come up with another patch for this? Thanks. -Matthias Miller |
_______________________________________________ neon mailing list [email protected] http://mailman.webdav.org/mailman/listinfo/neon
