🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Ambiguity between two properties

#501
From: Mario Sernicola
Date: Mon, 12 Jul 2004 18:06
26 lines
1537 bytes
Hi,

I've installed ActiveMovie component and I'm using it with TMediaPlayer
component.

I used this code:

//-------------------------------------------------------------------
if (FileExists(sound) && mpPlayer->Mode != mpPlaying)
{
    ...
}

//-------------------------------------------------------------------

but now, it give me this error:

[C++ Error] unitPrincipale.cpp(2168) E2015 Ambiguity between 'mpPlaying' and
'MPlayer::mpPlaying'

How can I tell to the compiler that I want to use the "mpPlayer" of
TMediaPlayer component instead of "mpPlaying" of ActiveMovie component?

Thanks

Mario Sernicola
Technical Details
Message-ID: <40f2d313$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,ccc752dc894eada,start
X-Google-Attributes: gid10d0fc,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Mario Sernicola" <mariosernicola@nospam.libero.it>
From: "Mario Sernicola" <mariosernicola@nospam.libero.it>
Newsgroups: borland.public.cppbuilder.multimedia
Subject: Ambiguity between two properties
Date: Mon, 12 Jul 2004 20:06:18 +0200
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 80.181.102.240
Message-ID: <40f2d313$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1089655571 80.181.102.240 (12 Jul 2004 11:06:11 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail