Importing MediaPlayer?


2005-08-10 04:35:59 PM
cppbuilder85
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