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? 

Regards,
Ehsan

On Mon, Apr 30, 2012 at 3:00 PM, Roman Yakovenko <roman.yakovenko@gmail.com> wrote:
On Mon, Apr 30, 2012 at 9:54 PM, Ehsan Pi <ehsanpii@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@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig