Hi,
I created a small and simple movieplayer.
You can download it here:
http://users.pandora.be/vge/downloads
On my PC (Intel P4 with WinXP Professional) it works like it should.
But my friend has Windows 2000 Advanced Server.
When he presses the ESC-key, the movie doesn't quit, and the pc just makes a beep-sound.
He has to wait until the movie actually ends.
Even stranger: after playing a movie, the CTRL-ALT-DEL keycombination doesn't work anymore.
Any key pressed results in a beep-sound, only the mouse works normally.
The source code is also located at my website.
Could someone look at the code and tell me how I could fix this?
Maybe using a different main loop?
I currently using this loop:
Repeat
; some code
Until KeyHit(1) Or MoviePlaying(movie)=False
Should I use this code:
While NOT KeyHit(1) or MoviePlaying(movie)=False
; some code
Wend
Or does this make no difference?
For anyone who has looked on my website:
MoviePlayer.exe uses the first loop, MoviePlayer2.exe uses the second loop. They do exactly the same on my pc.
If the movieplayer works for you, you can use it freely.
You can even take screenshots (press F8) with it from a playing movie (that's the reason I designed it).
The screenshots will be stored in this location:
"C:\MoviePlayer\Screenshots"
I don't know what error you will get when this directory isn't present.
You will not be able to pause the movie or to move forward or backward in the movie.
Even the soundvolume isn't changable.
I don't know how to do this (if it is even possible).
I created a small and simple movieplayer.
You can download it here:
http://users.pandora.be/vge/downloads
On my PC (Intel P4 with WinXP Professional) it works like it should.
But my friend has Windows 2000 Advanced Server.
When he presses the ESC-key, the movie doesn't quit, and the pc just makes a beep-sound.
He has to wait until the movie actually ends.
Even stranger: after playing a movie, the CTRL-ALT-DEL keycombination doesn't work anymore.
Any key pressed results in a beep-sound, only the mouse works normally.
The source code is also located at my website.
Could someone look at the code and tell me how I could fix this?
Maybe using a different main loop?
I currently using this loop:
Repeat
; some code
Until KeyHit(1) Or MoviePlaying(movie)=False
Should I use this code:
While NOT KeyHit(1) or MoviePlaying(movie)=False
; some code
Wend
Or does this make no difference?
For anyone who has looked on my website:
MoviePlayer.exe uses the first loop, MoviePlayer2.exe uses the second loop. They do exactly the same on my pc.
If the movieplayer works for you, you can use it freely.
You can even take screenshots (press F8) with it from a playing movie (that's the reason I designed it).
The screenshots will be stored in this location:
"C:\MoviePlayer\Screenshots"
I don't know what error you will get when this directory isn't present.
You will not be able to pause the movie or to move forward or backward in the movie.
Even the soundvolume isn't changable.
I don't know how to do this (if it is even possible).