1. TCP.ew Examples Problem

When I try to run an example TCP.ew program from Robert Szalay,
I get the following error:

C:\EUPHORIA\include\dll.e:54 in function define_c_func() 
Invalid argument type 
    lib = 1963261952
    routine_name = {87'W',83'S',65'A',67'C',108'l',101'e',97'a',110'n',117'u',
112'p'}
    arg_sizes = {0}
    return_type = 16777220

... called from C:\Documents and
Settings\Administrator\Desktop\tcp\example\tcp.ew:32

Help, please! :)

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » topic index » view message » categorize

2. Re: TCP.ew Examples Problem

That's a common problem with eu 2.3 and earlier source code calling 
.dll's. He's using NULL as an argument, though there should be no
argument at all. Just remove it both where it's 'declared' and where it's
called.

Regards, Alexander Toresson

Shhh! Be vewy quiet! I'm hunting wuntime ewwows!

new topic     » goto parent     » topic index » view message » categorize

3. Re: TCP.ew Examples Problem

Alexander Toresson wrote:
> 
> That's a common problem with eu 2.3 and earlier source code calling 
> .dll's. He's using NULL as an argument, though there should be no
> argument at all. Just remove it both where it's 'declared' and where it's
> called.

Here's the weird thing... I found a "tcp" folder with the code already
in it. I ran that (remembering that at one point I had it working), and
it ran fine! So the stuff in the archive is defective, apparently, and
the stuff on my PC is up-to-date. I guess. ... ?

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu