Re: dll.e error while doing tcp stuff

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

duke normandin wrote:
> Is there a problem with the  EU 3.0 dll.e library?
> 
> <quote>
> C:\Euphoria\include\dll.e:56 in function define_c_func()
> Invalid argument type
>     lib = 1907163136
>     routine_name = {87'W',83'S',65'A',67'C',108'l',101'e',97'a',110'n',117'u',
> 112'p'}
>     arg_types = {0}
>     return_type = 16777220
> 
> ... called from C:\euphoria\tcp\tcpdemos\tcp.ew:32
> </quote>

0 is not a valid argument type.
You have to choose an argument type from the list
at the top of dll.e. Apparently this C routine takes
one argument of some type, e.g. C_INT, C_DOUBLE etc.
You have to say what the type is.

I think, a few releases ago, 0 was quietly accepted 
as an argument type, without any error message. 
I'm not sure what that really meant though - perhaps equivalent to C_INT. 
So maybe this used to "work". Just fix the call to define_c_func()
in tcp.ew at line 32.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu