Re: dll.e error while doing tcp stuff
- Posted by Larry Miller <larrymiller at sasktel.net> May 09, 2007
- 837 views
The error is not in dll.e but tcp.ew
The problem is in the declaration of the c_func "WSACleanup" on line 32:
xWSACleanup = define_c_func( ws2_32, "WSACleanup", {0}, C_INT ),
It should read:
xWSACleanup = define_c_func( ws2_32, "WSACleanup", {}, C_INT ),
A function that takes no parameters should be defined with a null sequence {},
not {0}.
It appears that Eu3.0 has improved the error detection here.
Larry Miller

