swig and DWMAPI.dll

J

Jack

Hello,

When I try and compile a C++ project into a _mystuff.pyd file using
swig with wxDev-C++ it works. I can import, run and everything else in
python.

When I try to compile with g++ command line or code::blocks, compiles
just fine but when I try to import it I get this error:

File "<input>", line 1, in <module>
File "D:\python\spinmobules\speedy.py", line 7, in <module>
import _speedy
ImportError: DLL load failed: A dynamic link library (DLL)
initialization routine failed.

Running "dependency walker" tells me that DWMAPI.dll is missing. This
is a file that apparently is only on windows vista.

Has anyone run into this problem? Is there an easy solution?

Thanks,
Jack
 
J

Jack

Or, an equally excellent answer would be "you still use swig? That's
so outdated. Try Awesome McAwesomestein's Awesome C++ to Python
Autowrap"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top