Gabriel Genellina yahoo.com.ar> writes:
>
> By far, the most common problem extending/embedding Python is to do wrong
> reference counts.
> Read http://docs.python.org/ext/refcounts.html again (I hope you already
> did!) and make sure you don't hold a pointer to an object without
> increme
En Fri, 27 Jul 2007 16:06:32 -0300, Brad Johnson
<[EMAIL PROTECTED]> escribió:
> PyObject* o = PyDict_GetItemString(_d, "_outcatcher");
> PyObject* a = PyObject_GetAttrString(o, "data");
> ::MessageBox(NULL, PyString_AsString(a), _T(""), NULL);
>
> However, it only works twice.