[Gambas-user] Movieplayer example Gambas 3.0

Stephen Bungay sbungay at ...981...
Thu Feb 10 05:51:49 CET 2011


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








More information about the User mailing list