playing avi in c#

  • Thread starter Thread starter top tip
  • Start date Start date
T

top tip

Dear sirs
I have a problem in displaying video using mci (dllimport and win32 api)
and putting it in a form at x,y position,
if anybody give me code of this in c# , i will be gratful.
 
Forgive me for my ignorance, but what's MCI I'm trying to develop something to play audio and video files, can you give any advice
 
You might find the AudioVideo class that comes with the DirectX SDK as a
handy alternative for displaying AVIs.

--

Lynn Harrison
SHAMELESS PLUG - Introduction to 3D Game Engine Design (C# & DX9)
www.forums.Apress.com

Hector Martinez said:
Forgive me for my ignorance, but what's MCI I'm trying to develop
something to play audio and video files, can you give any advice?
 
thanks for attention,
there are several solutions to one problem, in this situation i guess we
can use dx 9 or media player sdk
but for my problem, ican't use them ( for shipping/installing dx9 in
target machine and for not sure every user has media player 9 ) then
decide to use mcisendstring api for windows that ships in every windows
and i need to load movie in my winform not default activemovie windows,
so may be some body done it before in c# , i will appreciated for any
help/code.
i think there is a problem with site posts before:)
sorry for weak english.
best regards.
 
dear sir there is several soloutions to one problem, i they have each
pros/cons. if you don't want bring dx9 in finall product to end user
or you are not sure,may be some uses have win98,you should use apis
of windows,like mcisendmessage, for help look in msdn,google 8)
 
Back
Top