Compiling C-dll for Python OR SWIG-module creation, how to continue ??
Posted
by ljuju
on Stack Overflow
See other posts from Stack Overflow
or by ljuju
Published on 2010-06-10T20:29:53Z
Indexed on
2010/06/10
20:33 UTC
Read the original article
Hit count: 192
I reference this file "kbdext.c" and its headerfile listed on http://www.docdroppers.org/wiki/index.php?title=Writing_Keyloggers (the listings are at the bottom).
I've been trying to compile this into a dll for use in Python or Visual Basic, but have not succeeded. I'm not familiar with C or GCC to sort out the problems or do the dll compile correctly. (I also get an error about snprintf not being declared when doing a regular compile of all the files).
What are the steps I should do to make all functions available for other languages and external apps?
Or is it perhaps easier to use SWIG and make a python module, instead of compiling a DLL?
© Stack Overflow or respective owner