views:

58

answers:

3
+1  Q: 

How to play video?

Hi,

I'm not c++ programmer so I have problem. Simple problem, I think.

I need play movie, can be only e.g. .avi (I can convert). Static width, static height, no button, no loop. I will write in PHP something like

exec('window.exe movie23.avi');

And appears window, play video, window close.

I rely code or good links.

Best regards

+2  A: 

So you are a PHP programmer who needs to make a small window ( written in C++ ) that will play a video provided by the command line. Look into the animation control on msdn. It plays avi files. If you are completely inexperienced in the topic , then you have a lot to learn. I would say that you could write something like this in under 200 lines of code.

Best of luck....

Alexander Rafferty
A: 

Check out this page.

http://msdn.microsoft.com/en-us/library/dd564580(VS.85).aspx

zooropa
A: 

I 'made' this, but not working. What is wrong?

asd
You shouldn't make remakes about your question in an answer.
Alexander Rafferty