Have you looked at ctypes at all? Makes life a lot simpler and has decent documentation ... http://starship.python.net/crew/theller/ctypes.html