Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: Errors in WMFSDK header files

HTVi
TV Discussion Newsgroups

Errors in WMFSDK header files
Adarsh 5/16/2007 3:39:01 AM
After specifying the include path to, i am getting the following errors,How
to solve these problems? ==========================================================================================================================
Deleting intermediate files and output files for project 'CreateWMV - Win32
Debug'.
--------------------Configuration: CreateWMV - Win32 Debug--------------------
Compiling...
CreateWMV.cpp
NOTE: WINVER has been defined as 0x0500 or greater which enables
Windows NT 5.0 and Windows 98 features. When these headers were released,
Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions.
For this release when WINVER is defined as 0x0500 or greater, you can only
build beta or test applications. To build a retail application,
set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk
to see if retail Windows NT 5.0 or Windows 98 headers are available.
See the SDK release notes for more information.
d:\wmfsdk\wmfsdk11\include\rpcndr.h(624) : error C2146: syntax error :
missing ';' before identifier 'MaxCount'
d:\wmfsdk\wmfsdk11\include\rpcndr.h(624) : error C2501: 'ULONG_PTR' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(624) : error C2501: 'MaxCount' : missing
storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1029) : error C2146: syntax error :
missing ';' before identifier 'mFlags'
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1029) : error C2501: 'ULONG_PTR' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1029) : error C2501: 'mFlags' : missing
storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1090) : error C2146: syntax error :
missing ';' before identifier 'nCount'
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1090) : error C2501: 'ULONG_PTR' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1090) : error C2501: 'nCount' : missing
storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1105) : error C2146: syntax error :
missing ';' before identifier 'nCount'
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1105) : error C2501: 'ULONG_PTR' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1105) : error C2501: 'nCount' : missing
storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1122) : error C2146: syntax error :
missing ';' before identifier 'pReserved1'
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1122) : error C2501: 'ULONG_PTR' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1122) : error C2501: 'pReserved1' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1123) : error C2146: syntax error :
missing ';' before identifier 'pReserved2'
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1123) : error C2501: 'ULONG_PTR' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1123) : error C2501: 'pReserved2' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1134) : error C2146: syntax error :
missing ';' before identifier 'Simple'
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1134) : error C2501: 'LONG_PTR' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1134) : error C2501: 'Simple' : missing
storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(2908) : error C2146: syntax error :
missing ';' before identifier 'Reserved'
d:\wmfsdk\wmfsdk11\include\rpcndr.h(2908) : error C2501: 'ULONG_PTR' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(2908) : error C2501: 'Reserved' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\wtypes.h(49) : fatal error C1083: Cannot open
include file: 'guiddef.h': No such file or directory
stdafx.cpp
NOTE: WINVER has been defined as 0x0500 or greater which enables
Windows NT 5.0 and Windows 98 features. When these headers were released,
Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions.
For this release when WINVER is defined as 0x0500 or greater, you can only
build beta or test applications. To build a retail application,
set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk
to see if retail Windows NT 5.0 or Windows 98 headers are available.
See the SDK release notes for more information.
wmvFile.cpp
d:\wmfsdk\wmfsdk11\include\rpcndr.h(624) : error C2146: syntax error :
missing ';' before identifier 'MaxCount'
d:\wmfsdk\wmfsdk11\include\rpcndr.h(624) : error C2501: 'ULONG_PTR' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(624) : error C2501: 'MaxCount' : missing
storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1029) : error C2146: syntax error :
missing ';' before identifier 'mFlags'
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1029) : error C2501: 'ULONG_PTR' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1029) : error C2501: 'mFlags' : missing
storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1090) : error C2146: syntax error :
missing ';' before identifier 'nCount'
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1090) : error C2501: 'ULONG_PTR' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1090) : error C2501: 'nCount' : missing
storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1105) : error C2146: syntax error :
missing ';' before identifier 'nCount'
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1105) : error C2501: 'ULONG_PTR' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1105) : error C2501: 'nCount' : missing
storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1122) : error C2146: syntax error :
missing ';' before identifier 'pReserved1'
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1122) : error C2501: 'ULONG_PTR' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1122) : error C2501: 'pReserved1' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1123) : error C2146: syntax error :
missing ';' before identifier 'pReserved2'
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1123) : error C2501: 'ULONG_PTR' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1123) : error C2501: 'pReserved2' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1134) : error C2146: syntax error :
missing ';' before identifier 'Simple'
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1134) : error C2501: 'LONG_PTR' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(1134) : error C2501: 'Simple' : missing
storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(2908) : error C2146: syntax error :
missing ';' before identifier 'Reserved'
d:\wmfsdk\wmfsdk11\include\rpcndr.h(2908) : error C2501: 'ULONG_PTR' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\rpcndr.h(2908) : error C2501: 'Reserved' :
missing storage-class or type specifiers
d:\wmfsdk\wmfsdk11\include\wtypes.h(49) : fatal error C1083: Cannot open
include file: 'guiddef.h': No such file or directory
Error executing cl.exe.

CreateWMV.exe - 50 error(s), 0 warning(s)




Re: Errors in WMFSDK header files
"Alessandro Angeli" <nobody[ at ]nowhere.in.the.net> 5/16/2007 5:03:51 AM
From: "Adarsh"

[Quoted Text]
> After specifying the include path to, i am getting the
> following errors,How to solve these problems?
[...]

To use the WMF 11 SDK you need to install the latest Windows
SDK for Vista (even if you're compiling on 2000/XP/2003):
the Platform SDK included with any version of VisualStudio
is too old. Otherwise you can use the WMF 9.5 SDK, but you
should update your PSDK to a newer version anyway, at least
the 2003 R3 one.



--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen