RE: stdcall / cdecl -- please clarify
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Feb 13, 2002
- 584 views
> -----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