title: python-sip: How to access a DLL from both Python and C++
body: <p>I have a C++ GUI, it load a DLL when running. I use SIP to import the DLL in python. I need to embed the python part in the GUI, and some data are needed to exchange between python and C++. </p>
  
  <p>For example, in the C++ GUI, I can enter command from a panel, such as "drawSomething()", it will call corresponding function in python, and the result will be shown in the GUI.</p>
  
  <p>Can I use SIP to 
  extract a C++ object from python object (just like the way boost.python does), or is there a better way to share data between python and c++ seamlessly?</p>
  
  <p>thanks.</p>