<div dir="ltr">Hi,<div><br></div><div>I have a C++ pointer that I want to wrap in to python.</div><div>I got the address of the pointer from ctypes. Then I cal sip.wrapinstance,</div><div>and I get this really odd error:</div><div><br></div><div><div>TypeError: must be sip.wrappertype, not sip.wrappertype</div></div><div><br></div><div>I'm using the wxPython package, and I get the error when I try to run the command</div><div>sip.wrapinstance(a,wx.MemoryDC)<br></div><div><br></div><div>Any suggestions on what I could try?</div><div><br></div><div><div><div> Eric</div></div><div><br></div>
</div></div>