🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #488

Re: MediaPlayer 9

#488
From: Dave
Date: Thu, 17 Jun 2004 05:37
21 lines
1527 bytes
On Tue, 4 May 2004 12:12:29 -0700, Fausto Sanchez wrote:

> Hi,
>     I am trying to embed WMP9 in an application using BCB6. I have been
> able to import as an activeX and can drop the component on my form. I do not
> have access to simple commands such as play, stop, etc. I can see the in the
> classes
> the functions themselves but when I try to call such as:
> 
> WindowsMediaPlayer1->play();
> 
> I get the following error:
> 
> [C++ Error] Unit1.cpp(21): E2316 'play' is not a member of
> 'TWindowsMediaPlayer'
> 
> I am new to this so I seem to have missed something very basic here.
> If someone could point me in the right direction??
> Thanks

try Play() instead methods are CAP sensitive
Technical Details
Message-ID: <10u3z8k2anbqf.1t3thgsfv1cis.dlg@40tude.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4097eb1c$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,4eca964fd421edbb
X-Google-Attributes: gid10d0fc,public
From: Dave <dave_xse@nospam.org>
Subject: Re: MediaPlayer 9
Newsgroups: borland.public.cppbuilder.multimedia
User-Agent: 40tude_Dialog/2.0.10.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <4097eb1c$1@newsgroups.borland.com>
Date: Thu, 17 Jun 2004 07:37:58 +0200
Message-ID: <10u3z8k2anbqf.1t3thgsfv1cis.dlg@40tude.net>
NNTP-Posting-Host: 80.218.152.5
X-Trace: newsgroups.borland.com 1087450689 80.218.152.5 (16 Jun 2004 22:38:09 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail