[Gambas-user] SHELL syntax not as advertised???
Rob Kudla
sourceforge-raindog2 at ...94...
Thu Feb 2 19:43:48 CET 2006
On Thu February 2 2006 12:54, Christopher Brian Jack wrote:
> 285: SHELL "mplayer -wid " & Str(MainScreen.handle) & " -slave
> Unexpected AS in Line 125 of Intro.module
You sure the error isn't getting thrown somewhere else? The
error message says line 125 and I assume that "285:" is the line
number of your SHELL command.
> On another note mplayer seems not to like what the handle
> property is giving back as an ID ([BadWindow] is XLib's
> complaint).
I do notice that the MoviePlayer example uses a Label to display
the mplayer video. Maybe mplayer can't embed into top-level
windows? Try making a label that's the full height and width of
the form, and using its handle instead.
Rob
More information about the User
mailing list