Re: dll.e error while doing tcp stuff

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu