Re: its time for Win32Lib mailing list

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

Ray Smith wrote:

> What types of things are you after
> help with?

It would be nice if I were to use the *real* version of SWIG, which I've
pretty much given up being able to use. My code crashes and burns when it
calls stdio, so I suspect that something's either terribly wrong with my
machine, or I don't have a clue what I'm doing (the second is quite likely).
If you were comfortable with makefiles, it would be nice if I could find out
where my SWIG code goes wrong.

Since I've had so many problems with SWIG, I've recoded my own version of
SWIG in Euphoria. It's a lot less powerful (handles less syntax), but it can
handle most of the wxPython SWIG files, with a bit of editing. It also takes
care of having to deal with much C++, which is nice.

> Obviously C++ is required, which I have a little
> knowledge of...

C++ is probably not all that important - C skills are far more helpful. I
already have a fairly good idea how to cast C++ code in 'flat' C code. I get
lost when I need to do stuff like pass callbacks to functions as parameters,
or call those functions from C using the parameters. This sort of thing gets
dicey with syntax, and I get lost real easily. I can *cast* the pointers
from Euphoria, it's just a matter of getting the pointers cast back to
functions in C.

> P.S. Have you seen the Python Qt wrappers?
> http://www.thekompany.com/projects/pykde/index.php3?dhtml_ok=1
>
> They look very good and can be used on Win32 for free.
> I don't know how they manged that deal!

Yeah, I saw that. Apparently some people at Trolltech really like them.

I'm a bit curious how they got around the issues of the MOC pre-processor,
but haven't really been that tempted to look at the wrappers.

-- David Cuny

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

Search



Quick Links

User menu

Not signed in.

Misc Menu