Re: include abc.dll - any volunteers?
- Posted by Matt Lewis <matthewwalkerlewis at gmail.c?m> Jan 09, 2008
- 805 views
Pete Lomax wrote: > > Matt Lewis wrote: > > > > Chris Bensler wrote somthing along these lines: > > > > <a > > href="http://www.rapideuphoria.com/dawg.zip">http://www.rapideuphoria.com/dawg.zip</a> > > > > I haven't tried it, but it's probably worth checking out before anyone > > goes about designing new wheels. > I had a quick look. Basic usage is something like this: <snip> > So you have to hand-craft a table of routine names, param & return types. Ugh. Yeah, I just recalled it from forum posts, and I don't think I ever looked closely. I know that as part of my redesign of wxEuphoria, I started looking at SWIG. The wxPython folks use this tool. But it seemed like more work than was necessary, especially since I controlled the specs for the code, and could keep within certain well defined boundaries, so it was easier to write my own code to wrap stuff from libwxeu.dll. Looking at the archive, David Cuny did some work with SWIG: http://www.rapideuphoria.com/swig_eu.zip It might be a viable method, although I think that it requires you to build your own dll. I haven't really used SWIG, though, and I'm sure that there are much newer versions, so the utility of this code is questionable for this sort of effort. Matt