Hi Victor,
many thanks for your help.
I did as you suggested:
- Download gccxml form cvs repository, compile and install - ok
- call "python h2xml.py myheader.h -o myheader.xml -q -c" and generate xml file - ok
When I use
python xml2py.py myheader.xml -kf -l mydll.dll -o mydll.py
I get the error message
OSError: mydll.dll: invalid ELF header
Is this because I have a DLL compiled for Windows instead of a .so file compiled for Unix/Linux?
If so can I use the mydll.dll on Linux somehow, maybe by transforming it to the required format?
Is there another way to let ctypeslib generate the functions declarations for my Windows DLL?
Best regards
George
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.