<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
For CPython, an importable module written in C.  There is a doc Extending and Embedding the Python Interpreter.  But I expect you can write the class in Python with ctypes.</blockquote><div>Thanks Terry. I'll be using ctypes now and have started writing the class.<br>
But the problem is that there are some 150 APIs exposed by the dll. Is there any tool that can autogenerate some of the member functions for the class since new APIs might as well get added in future.<br><br>Could SWIG be of use here?<br>
<br>Cheers,<br>Rajat <br></div></div>