RE: stdcall / cdecl -- please clarify

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

> -----Original Message-----
> From: Andy Serpa [mailto:renegade at earthling.net]

> My knowledge of C is next to nothing.  But I think maybe some bright
> person around here could possibly make a "universal" dll
> wrapper where
> you could pass the name of the "final" dll, the name of the
> function &
> the arguments to the euMiddleMan (There.  Now the project even has a
> name.), which would in turn call that function using cdecl, get any
> return values, and then return those back to the Euphoria
> program.  This
> could even support a variable number of arguments.  Anybody want to
> tackle it?
>
> I could do it myself, but I'd have to learn C first, so it
> would take a
> while.
>
> OR -- maybe Euphoria itself could support this in the future?
>  It seems
> we are missing out on a lot of fast & powerful existing code over a
> relatively minor issue...

I've been working with Euman to convert my fptr.e to handle cdecl (at least
for callbacks).  I think I know how to call cdecl routines as well using Eu
and a little bit of asm.

Matt Lewis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu