[C++-sig] Wrapping and Passing HWND with Boost.Python

Ehsan Pi ehsanpii at gmail.com
Tue May 1 16:25:11 CEST 2012

Thanks Roman,

I believe these are not specific to py++ but boost.python, correct? What I
mean is whether it can be automated through the py++ wrapper, or do I have
to manually alter the py++ generated cpp file?


On Mon, Apr 30, 2012 at 3:00 PM, Roman Yakovenko
<roman.yakovenko at gmail.com>wrote:

> On Mon, Apr 30, 2012 at 9:54 PM, Ehsan Pi <ehsanpii at gmail.com> wrote:
> > Thanks Roman for your quick reply,
> >
> > That's what confuses me. HWND is essentially a pointer to an int to hold
> the
> > window handle. How can to convert them to each other?
> I am not sure that you are right, but in case you are, use
> make_constructor and reinterpret_cast.
> Regards,
> Roman
> _______________________________________________
> Cplusplus-sig mailing list
> Cplusplus-sig at python.org
> http://mail.python.org/mailman/listinfo/cplusplus-sig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20120501/1eb584de/attachment-0001.html>

More information about the Cplusplus-sig mailing list