[iphone-python] Interfacing libhide
Henk Poley
HenkPoley at gmail.com
Wed Apr 15 14:44:08 UTC 2009
Op 15 apr 2009, om 16:15 heeft renaud blanch het volgende geschreven:
> i assumed the dylib was c because you used ctypes.
> if it's an objective-c, you should drop ctypes and use objc only.
> there should be a way to load the dylib using objc.
> did you try the objc.loadBundle (do not have a chance to test know) ?
---
Traceback (most recent call last):
File "PyProto.py", line 8, in <module>
hide = objc.loadBundle("hide.dylib", globals(), "/usr/lib/
hide.dylib")
ImportError: Bundle could not be loaded
---
I've tried different strings for the Framework name ("hide.dylib") but
from what I can glance from the objc code it expects a .framework
around that dylib.
Henk Poley
More information about the iPhone-Python
mailing list