Article View: borland.public.cppbuilder.multimedia
Article #16Re: TMediaPlayer never working for AVI
From: Mark Jacobs
Date: Wed, 22 Feb 2006 14:28
Date: Wed, 22 Feb 2006 14:28
23 lines
1587 bytes
1587 bytes
"HF" <(min_charATyahooPUTADOTgr)(HellenicFire)> wrote in message
news:43f70e26@newsgroups.borland.com...
| Try this
|
| #include <vfw.h>
|
|
//---------------------------------------------------------------------------
| void __fastcall TForm1::Button1Click(TObject *Sender)
| {
| if (OpenDialog1->Execute()){
|
MCIWndCreate(Panel1->Handle,0,MCIWNDF_SHOWMODE,OpenDialog1->FileName.c_str());
| }
| }
|
//---------------------------------------------------------------------------
Wow. That was short and sweet!
--
Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk
Technical Details
Message-ID:
<43fc74bb@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<43f6f70b$1@newsgroups.borland.com> <43f70e26@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,ec305982e1c394ca X-Google-Attributes: gid10d0fc,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Mark Jacobs" <http://www.jacobsm.com/mjmsg?Borland%20Newsgroup> Newsgroups: borland.public.cppbuilder.multimedia References: <43f6f70b$1@newsgroups.borland.com> <43f70e26@newsgroups.borland.com> Subject: Re: TMediaPlayer never working for AVI Date: Wed, 22 Feb 2006 14:28:05 -0000 Lines: 25 Organization: DK Computing X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 81.144.157.8 Message-ID: <43fc74bb@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1140618427 81.144.157.8 (22 Feb 2006 06:27:07 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail