[Gambas-user] Movieplayer example Gambas 3.0

Jussi Lahtinen jussi.lahtinen at ...626...
Thu Feb 10 14:18:31 CET 2011


Try latest revision of Gambas 3.
This is fixed to Cstr(lblMoviePlayer.Handle) .

Jussi



On Thu, Feb 10, 2011 at 06:51, Stephen Bungay <sbungay at ...981...> wrote:

> Line # 39
>
>  $hProcess = Exec ["mplayer", "-wid", lblMoviePlayer.Handle,
> Conv$($sPath, Desktop.Charset, System.Charset)] For Read Write
>
>
> results in this error
>
> Type mismatch: Wanted String[] got Variant[] instead
>
>
> the problem is with lblMoviePlayer.Handle... has something fundamentaly
> changed with Exec? The movieplayer example does not work under 2.99 and
> it only produces a black output window under 2.22 (although no type
> mismatch error in 2.22), neither one works though.
>
>
> Steve.
>
> [OperatingSystem]
>
> OperatingSystem=Linux
>
> KernelRelease=2.6.34.7-61.fc13.i686
>
> DistributionVendor=redhat
>
> DistributionRelease=Fedora release 13 (Goddard)
>
> [System]
>
> CPUArchitecture=i686
>
> TotalRam=2044968 kB
>
> [Gambas]
>
> Gambas1=Not Installed
>
> Gambas2=2.22.0
>
> Gambas2Path=/usr/bin/gbx2
>
> Gambas3=2.99.0
>
> Gambas3Path=/usr/local/bin/gbx3
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list