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
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
"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
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
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]