I have a small problem compiling a C source to a Python dynamic module, that I need for an open source project.
I put the source, complete with the files generated by make_dll_stup.py script, here: http://imdbpy.sf.net/foo.zip
As you can see the code is quite simple.
The module compiles and the _foo.pyd file is produced, running - by the DOS prompt - these commands:
bldmake bldfiles
abld build armi urel
Once I install it to the phone (n70), I can import it with the python interpreter and even see its exported methods with dir(_foo); unfortunately, as I call a method (like _foo.soundex('abc')), the interpreter bloody crashes.
I still have some problems using the emulator and the carbide environment, so if anyone can try it and help me spotting the problem, will be rewarded in the CREDITS of IMDbPY.![]()


Reply With Quote




