Re: Embed movie player using mplayer - How to get the wid on Windows?



On Thu, 2008-08-21 at 09:42 -0300, Paulo Flabiano Smorigo wrote:
> Hi Jens,
> 
> Thanks for the reply. That's exactly what I need. I just stuck in a
> error when change from GDK_WINDOW_XID to GDK_WINDOW_HWND.
> 
> The original line:
> 
> *p_windowID = GDK_WINDOW_XID(Glib::unwrap(get_window()));
> 
> Changed to:
> 
> *p_windowID = GDK_WINDOW_HWND(Glib::unwrap(get_window()));
> 
> The error is:
> gui/Player.cpp:32: error: invalid conversion from `void*' to `int'

You should know better what a HWND is defined as as I do. (I don't do
windows)

BTW I don't think you want to unwrap. What you want is call the method
gobj() to obtain the underlying GObject instance.

Hub
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]