🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5495

Importing MediaPlayer?

#5495
From: Alexander Adam
Date: Wed, 10 Aug 2005 08:35
22 lines
1431 bytes
Hello,

I've tried to import the Windows Media Player ActiveX.
Now I've included these two headers into my header file to access 
TWindowsMediaPlayer Component:

#include "WMPLib_TLB.h"
#include "WMPLib_OCX.h"

But when doing this I get the following errors when compilling:

[C++ Error] atlmod.h(404): E2015 Ambiguity between 'ULONG_PTR' and 
'Wmplib_tlb::ULONG_PTR'
[C++ Error] atlmod.h(371): E2015 Ambiguity between 'ULONG_PTR' and 
'Wmplib_tlb::ULONG_PTR'


Note that this is in an empty ActiveX Automation Object Unit.
Any clue?

thanks!
Alex
Technical Details
Message-ID: <42f9bc83@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!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: 10cc67,d5d00c8399bff8a6,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 10 Aug 2005 10:35:59 +0200
From: Alexander Adam <sdg@dg.dg>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Importing MediaPlayer?
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 217.91.56.77
Message-ID: <42f9bc83@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1123662979 217.91.56.77 (10 Aug 2005 01:36:19 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail