Wie kann ich bei einem WMP-Objekt ein Video abspielen?
Spoiler anzeigen
[autoit]
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 629, 442, 186, 125)
$Obj1 = ObjCreate("WMPlayer.OCX.7")
$Obj1_ctrl = GUICtrlCreateObj($Obj1, 0, 0, 628, 440)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd