First search "How To Use C Class In Python", "How to use C class in Python". Get two clues: "C - SIG" and "CTypes". Go to Python's website to see what clues: find "Extending Python with C ", http://python.org/doc/current/ext/intro.html Python can call Plat API function, Extern "C" type The function. But use this method, is it too big? Swig Simplified Warpper and interface generator. Swig.sf.net See uses this tool, is it simpler? Find a simple example http://infoloom.com/gcaconfs/web/paris2000/s28-04.htm