🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.multimedia
4 messages
4 total messages Started by Mario Sernicola Mon, 12 Jul 2004 18:06
Ambiguity between two properties
#501
Author: 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
Re: Ambiguity between two properties
#502
Author: Remy Lebeau (TeamB)
Date: Mon, 12 Jul 2004 18:08
14 lines
1286 bytes
"Mario Sernicola" <mariosernicola@nospam.libero.it> wrote in message
news:40f2d313$1@newsgroups.borland.com...

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

By qualifying it with the appropriate namespace:

    if( FileExists(sound) && mpPlayer->Mode != Mplayer::mpPlaying )


Gambit
Re: Ambiguity between two properties
#503
Author: Mario Sernicola
Date: Mon, 12 Jul 2004 18:38
14 lines
1316 bytes
So  Mplayer::mpPlaying is for TMediaPlayer component?

"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> ha scritto nel
messaggio news:40f2d389$1@newsgroups.borland.com...

> By qualifying it with the appropriate namespace:
>
>     if( FileExists(sound) && mpPlayer->Mode != Mplayer::mpPlaying )
>
>
> Gambit
>
>
>
Re: Ambiguity between two properties
#405
Author: Remy Lebeau (TeamB)
Date: Mon, 12 Jul 2004 19:39
10 lines
1142 bytes
"Mario Sernicola" <mariosernicola@nospam.libero.it> wrote in message
news:40f2daa3@newsgroups.borland.com...

> So  Mplayer::mpPlaying is for TMediaPlayer component?

Yes.


Gambit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads