Re: call_back ?

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

Wolf wrote:

> Can EU not do this?
> ... specifically, this definition for a user defined API 'function' says, *NO*
> return value.
>
> VOID WINAPI RasDialFunc(
>
>     UINT unMsg, // type of event that has occurred
>     RASCONNSTATE rasconnstate, // connection state about to be entered
>     DWORD dwError // error that may have occurred
>    );
>
>  Return Values
> None.

I think in Euphoria this would be a procedure rather than a function,
wouldn't it?

> .. anyways, it's 'puking' all over me, so I'm.. just wondering, how ??

In the Euphoria 2.4 documentation for define_c_func(), it reads:
"If you are not interested in using the value returned by the C function,
you should instead define it with define_c_proc() and call it with
c_proc()."

Does that work for you?

Regards,
   Juergen

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

Search



Quick Links

User menu

Not signed in.

Misc Menu