Re: ewin32api.ew - Error

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

----- Original Message ----- 
From: <dragontechnologies at lycos.com>
To: "EUforum" <EUforum at topica.com>
Subject: ewin32api.ew - Error


> 
> 
>  When I run WIN32 eu programs that use ewin32api.ew I receive an error 
> message saying: 
> 
> C:\EUPHORIA\include\dll.e:54 in function define_c_func()
> Invalid argument type
> ... called from C:\ewin32api.ew:466 in function link_c_func()
> 
>  The interpreter blames dll.e for the error, but there should't ever be 
> a problem with include files. I checked the code in dll.e and it seemed 
> absolutely fine.
>  I've believed the problem to be in ewin32api.ew but checking the code, 
> it has no problems in it. From ewin32api.ew:
> 
> global function link_c_func(atom dll, sequence name, sequence args, atom 
> result)
> -- dynamically link a C routine as a Euphoria function
>     integer handle
> 
>     handle = define_c_func(dll, name, args, result)
>     if handle = -1 then
> not_found(name)
>     else
> return handle
>     end if
> end function
> 
>  Do you know what's wrong with the program?
> 

>From the ex.err file, what are the values for 'dll', 'name', 'args', and
>'result' ?
-- 
Derek

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

Search



Quick Links

User menu

Not signed in.

Misc Menu