Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
media
danimation.controls
danimation.programming
devices
drm
dshow.programming
dtransform
encoder
encoder.optimization
hometheaterpc
media
media.beta
media.beta.encoder
mediacenter
mediacenter.portable
mediaplayer
music.products
musicproducer
player
player.plugins
player.skins
player.solaris
player.visualizations
player.web
sdk
server
tools
  
 
date: Wed, 9 Apr 2008 09:11:01 -0700,    group: microsoft.public.windowsmedia.sdk        back       


Windows Media Format SDK v11 include files conflict with platform   
Hi,

I currently use Visual Studio 2003 (7.1) with the default platform SDK.

If i try to compile my project with the include files provide with the WMF 
SDK v11 i have errors like 

"c:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\PlatformSDK\Include\ObjIdl.h(5431): error C2061: erreur de syntaxe : 
identificateur 'LPCOLESTR'
".

I have detect conflict with platform SDK include files versus WMF SDK 
include files :

dshowasf.h
mediaobj.h
propidl.h
rpcndr.h
shtypes.h
wtypes.h

and 

libcmt.lib

How can i solve this issue ? 

FYI : if remove those files from the platform sdk directory the project 
builds without errors. But im sure its not the right way to solve my issue.

Please Help me
date: Wed, 9 Apr 2008 09:11:01 -0700   author:   shark38130

Re: Windows Media Format SDK v11 include files conflict with platform   
From: "shark38130"

> If i try to compile my project with the include files
> provide with the WMF SDK v11 i have errors like

That has been discussed many times before: if you want to 
use the WMF 11 SDK, you need to use the Windows SDK for 
Vista or newer (which runs on XP as well), otherwise use the 
WMF 9.5 SDK, since the major change is in the runtime, not 
the SDK, and you can install the newer runtime regardless of 
the SDK.


-- 
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm
date: Wed, 9 Apr 2008 12:17:19 -0400   author:   Alessandro Angeli

Re: Windows Media Format SDK v11 include files conflict with platf   
"Alessandro Angeli" wrote:

> From: "shark38130"
> 
> > If i try to compile my project with the include files
> > provide with the WMF SDK v11 i have errors like
> 
> That has been discussed many times before: if you want to 
> use the WMF 11 SDK, you need to use the Windows SDK for 
> Vista or newer (which runs on XP as well), otherwise use the 
> WMF 9.5 SDK, since the major change is in the runtime, not 
> the SDK, and you can install the newer runtime regardless of 
> the SDK.
> 
> 
> -- 
> // Alessandro Angeli
> // MVP :: DirectShow / MediaFoundation
> // mvpnews at riseoftheants dot com
> // http://www.riseoftheants.com/mmx/faq.htm 
> 
> 
> 

Ok thank you for your answer,

i will try the 9.5 SDK version which does not require to update my platforme 
SDK, that's it ?

But what are the major updates from version 9.5 versus 11 ?

Br
date: Thu, 10 Apr 2008 00:05:00 -0700   author:   shark38130

Re: Windows Media Format SDK v11 include files conflict with platf   
From: "shark38130"

> i will try the 9.5 SDK version which does not require to
> update my platforme SDK, that's it ?

If I were you I would update the PSDK insteadk.

> But what are the major updates from version 9.5 versus 11
> ?

The runtime has new codecs (which you can install 
separatedly) and the docs and samples have been improved 
(which you can read just by decompressing the SDK).


-- 
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm
date: Thu, 10 Apr 2008 10:11:09 -0400   author:   Alessandro Angeli

Re: Windows Media Format SDK v11 include files conflict with platf   
On Thu, 10 Apr 2008 10:11:09 -0400, Alessandro Angeli wrote:

>> i will try the 9.5 SDK version which does not require to
>> update my platforme SDK, that's it ?
> 
> If I were you I would update the PSDK insteadk.

I don't believe the current PSDK is VS 2003 compatible.

-- 
http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation]
date: Thu, 10 Apr 2008 10:29:12 -0400   author:   Chris P.

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us