VC++中使用gdi+的编绎问题

时间:2021-09-09 05:35:59

GDI+是COM对象,所以在程序中分使用comdef.h定义文件

#include <windows.h>
#include <comdef.h>
#include <GdiPlus.h> 
using>Visual C++ 6.0 编绎真的很快!省心省力省时间!!!


--------------------Configuration: iadmin - Win32 Debug--------------------

Compiling...
 
d:\program files\sdk\include\gdiplusimaging.h(67) : error C2501: 'MIDL_INTERFACE' : missing storage-class or type specifiers
d:\program files\sdk\include\gdiplusimaging.h(67) : error C2440: 'initializing' : cannot convert from 'char [37]' to 'int'
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast
d:\program files\sdk\include\gdiplusimaging.h(67) : error C2146: syntax error : missing ';' before identifier 'IImageBytes'
d:\program files\sdk\include\gdiplusimaging.h(67) : error C2501: 'IImageBytes' : missing storage-class or type specifiers
d:\program files\sdk\include\gdiplusimaging.h(67) : error C2239: unexpected token ':' following declaration of 'IImageBytes'
d:\program files\sdk\include\gdiplusimaging.h(67) : error C2059: syntax error : 'public'
d:\program files\sdk\include\gdiplusimaging.h(246) : error C2146: syntax error : missing ';' before identifier 'id'
d:\program files\sdk\include\gdiplusimaging.h(246) : error C2501: 'PROPID' : missing storage-class or type specifiers
d:\program files\sdk\include\gdiplusimaging.h(246) : error C2501: 'id' : missing storage-class or type specifiers
d:\program files\sdk\include\gdiplusheaders.h(384) : error C2629: unexpected 'class Gdiplus::Image ('
d:\program files\sdk\include\gdiplusheaders.h(384) : error C2238: unexpected token(s) preceding ';'
d:\program files\sdk\include\gdiplusheaders.h(395) : error C2061: syntax error : identifier 'IStream'
d:\program files\sdk\include\gdiplusheaders.h(405) : error C2061: syntax error : identifier 'IStream'
d:\program files\sdk\include\gdiplusheaders.h(443) : error C2061: syntax error : identifier 'PROPID'
d:\program files\sdk\include\gdiplusheaders.h(444) : error C2061: syntax error : identifier 'PROPID'
d:\program files\sdk\include\gdiplusheaders.h(445) : error C2061: syntax error : identifier 'PROPID'
d:\program files\sdk\include\gdiplusheaders.h(453) : error C2061: syntax error : identifier 'PROPID'
d:\program files\sdk\include\gdiplusheaders.h(499) : error C2629: unexpected 'class Gdiplus::Bitmap ('
d:\program files\sdk\include\gdiplusheaders.h(499) : error C2238: unexpected token(s) preceding ';'
d:\program files\sdk\include\gdiplusheaders.h(510) : error C2061: syntax error : identifier 'IStream'
d:\program files\sdk\include\gdiplusflat.h(1133) : error C2065: 'IStream' : undeclared identifier
d:\program files\sdk\include\gdiplusflat.h(1133) : error C2065: 'stream' : undeclared identifier
d:\program files\sdk\include\gdiplusflat.h(1133) : error C2065: 'image' : undeclared identifier
d:\program files\sdk\include\gdiplusflat.h(1133) : error C2100: illegal indirection
d:\program files\sdk\include\gdiplusflat.h(1133) : error C2275: 'GpImage' : illegal use of this type as an expression
        d:\program files\sdk\include\gdiplusgpstubs.h(61) : see declaration of 'GpImage'
d:\program files\sdk\include\gdiplusflat.h(1133) : warning C4229: anachronism used : modifiers on data are ignored
d:\program files\sdk\include\gdiplusflat.h(1133) : error C2078: too many initializers
d:\program files\sdk\include\gdiplusflat.h(1139) : error C2100: illegal indirection
d:\program files\sdk\include\gdiplusflat.h(1139) : error C2275: 'GpImage' : illegal use of this type as an expression
        d:\program files\sdk\include\gdiplusgpstubs.h(61) : see declaration of 'GpImage'
d:\program files\sdk\include\gdiplusflat.h(1139) : warning C4229: anachronism used : modifiers on data are ignored
d:\program files\sdk\include\gdiplusflat.h(1139) : error C2078: too many initializers
d:\program files\sdk\include\gdiplusflat.h(1156) : error C2061: syntax error : identifier 'IStream'
d:\program files\sdk\include\gdiplusflat.h(1244) : error C2061: syntax error : identifier 'PROPID'
d:\program files\sdk\include\gdiplusflat.h(1247) : error C2061: syntax error : identifier 'PROPID'
d:\program files\sdk\include\gdiplusflat.h(1250) : error C2061: syntax error : identifier 'PROPID'
d:\program files\sdk\include\gdiplusflat.h(1262) : error C2061: syntax error : identifier 'PROPID'
d:\program files\sdk\include\gdiplusflat.h(1275) : error C2065: 'bitmap' : undeclared identifier
d:\program files\sdk\include\gdiplusflat.h(1275) : error C2100: illegal indirection
d:\program files\sdk\include\gdiplusflat.h(1275) : error C2275: 'GpBitmap' : illegal use of this type as an expression
        d:\program files\sdk\include\gdiplusgpstubs.h(62) : see declaration of 'GpBitmap'
d:\program files\sdk\include\gdiplusflat.h(1275) : warning C4229: anachronism used : modifiers on data are ignored
d:\program files\sdk\include\gdiplusflat.h(1275) : error C2078: too many initializers
d:\program files\sdk\include\gdiplusflat.h(1281) : error C2100: illegal indirection
d:\program files\sdk\include\gdiplusflat.h(1281) : error C2275: 'GpBitmap' : illegal use of this type as an expression
        d:\program files\sdk\include\gdiplusgpstubs.h(62) : see declaration of 'GpBitmap'
d:\program files\sdk\include\gdiplusflat.h(1281) : warning C4229: anachronism used : modifiers on data are ignored
d:\program files\sdk\include\gdiplusflat.h(1281) : error C2078: too many initializers
d:\program files\sdk\include\gdiplusflat.h(2128) : error C2065: 'header' : undeclared identifier
d:\program files\sdk\include\gdiplusflat.h(2128) : error C2275: 'MetafileHeader' : illegal use of this type as an expression
        d:\program files\sdk\include\gdiplusmetaheader.h(112) : see declaration of 'MetafileHeader'
d:\program files\sdk\include\gdiplusflat.h(2128) : warning C4229: anachronism used : modifiers on data are ignored
d:\program files\sdk\include\gdiplusflat.h(2128) : error C2078: too many initializers
d:\program files\sdk\include\gdiplusflat.h(2146) : error C2061: syntax error : identifier 'IStream'
d:\program files\sdk\include\gdiplusflat.h(2166) : error C2065: 'metafile' : undeclared identifier
d:\program files\sdk\include\gdiplusflat.h(2166) : error C2100: illegal indirection
d:\program files\sdk\include\gdiplusflat.h(2166) : error C2275: 'GpMetafile' : illegal use of this type as an expression
        d:\program files\sdk\include\gdiplusgpstubs.h(63) : see declaration of 'GpMetafile'
d:\program files\sdk\include\gdiplusflat.h(2166) : warning C4229: anachronism used : modifiers on data are ignored
d:\program files\sdk\include\gdiplusflat.h(2166) : error C2078: too many initializers
d:\program files\sdk\include\gdiplusflat.h(2213) : error C2275: 'HDC' : illegal use of this type as an expression
        d:\program files\sdk\include\windef.h(260) : see declaration of 'HDC'
d:\program files\sdk\include\gdiplusflat.h(2213) : error C2146: syntax error : missing ')' before identifier 'referenceHdc'
d:\program files\sdk\include\gdiplusflat.h(2213) : warning C4229: anachronism used : modifiers on data are ignored
d:\program files\sdk\include\gdiplusflat.h(2213) : error C2078: too many initializers
d:\program files\sdk\include\gdiplusflat.h(2213) : error C2275: 'HDC' : illegal use of this type as an expression
        d:\program files\sdk\include\windef.h(260) : see declaration of 'HDC'
d:\program files\sdk\include\gdiplusflat.h(2219) : error C2059: syntax error : ')'
d:\program files\sdk\include\gdiplusflat.h(2224) : error C2275: 'HDC' : illegal use of this type as an expression
        d:\program files\sdk\include\windef.h(260) : see declaration of 'HDC'
d:\program files\sdk\include\gdiplusflat.h(2224) : error C2146: syntax error : missing ')' before identifier 'referenceHdc'
d:\program files\sdk\include\gdiplusflat.h(2224) : warning C4229: anachronism used : modifiers on data are ignored
d:\program files\sdk\include\gdiplusflat.h(2224) : error C2078: too many initializers
d:\program files\sdk\include\gdiplusflat.h(2224) : error C2275: 'HDC' : illegal use of this type as an expression
        d:\program files\sdk\include\windef.h(260) : see declaration of 'HDC'
d:\program files\sdk\include\gdiplusflat.h(2230) : error C2059: syntax error : ')'
d:\program files\sdk\include\gdiplusmetafile.h(80) : error C2629: unexpected 'class Gdiplus::Metafile ('
d:\program files\sdk\include\gdiplusmetafile.h(80) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
d:\program files\sdk\include\gdiplusmetafile.h(197) : error C2629: unexpected 'class Gdiplus::Metafile ('
d:\program files\sdk\include\gdiplusmetafile.h(197) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
d:\program files\sdk\include\gdiplusmetafile.h(213) : error C2629: unexpected 'class Gdiplus::Metafile ('
d:\program files\sdk\include\gdiplusmetafile.h(213) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
d:\program files\sdk\include\gdiplusmetafile.h(231) : error C2629: unexpected 'class Gdiplus::Metafile ('
d:\program files\sdk\include\gdiplusmetafile.h(231) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
d:\program files\sdk\include\gdiplusmetafile.h(277) : error C2061: syntax error : identifier 'IStream'
d:\program files\sdk\include\gdiplusbitmap.h(45) : error C2275: 'BOOL' : illegal use of this type as an expression
        d:\program files\sdk\include\windef.h(152) : see declaration of 'BOOL'
d:\program files\sdk\include\gdiplusbitmap.h(45) : error C2146: syntax error : missing ')' before identifier 'useEmbeddedColorManagement'
d:\program files\sdk\include\gdiplusbitmap.h(45) : error C2433: '__ctor' : 'inline' not permitted on data declarations
d:\program files\sdk\include\gdiplusbitmap.h(45) : error C2350: 'Image::Image::Image' is not a static member
d:\program files\sdk\include\gdiplusbitmap.h(45) : error C2078: too many initializers
d:\program files\sdk\include\gdiplusbitmap.h(45) : error C2275: 'BOOL' : illegal use of this type as an expression
        d:\program files\sdk\include\windef.h(152) : see declaration of 'BOOL'
d:\program files\sdk\include\gdiplusbitmap.h(45) : error C2059: syntax error : ')'
d:\program files\sdk\include\gdiplusbitmap.h(46) : error C2143: syntax error : missing ';' before '{'
d:\program files\sdk\include\gdiplusbitmap.h(46) : error C2447: missing function header (old-style formal list?)
d:\program files\sdk\include\gdiplusbitmap.h(78) : error C2061: syntax error : identifier 'IStream'
d:\program files\sdk\include\gdiplusbitmap.h(85) : error C2065: 'useEmbeddedColorManagement' : undeclared identifier
d:\program files\sdk\include\gdiplusbitmap.h(146) : error C2059: syntax error : 'const'
d:\program files\sdk\include\gdiplusbitmap.h(149) : error C2143: syntax error : missing ';' before '{'
d:\program files\sdk\include\gdiplusbitmap.h(149) : error C2447: missing function header (old-style formal list?)
d:\program files\sdk\include\gdiplusbitmap.h(410) : error C2061: syntax error : identifier 'PROPID'
d:\program files\sdk\include\gdiplusbitmap.h(414) : error C2065: 'list' : undeclared identifier
d:\program files\sdk\include\gdiplusbitmap.h(419) : error C2065: 'PROPID' : undeclared identifier
d:\program files\sdk\include\gdiplusbitmap.h(420) : error C2146: syntax error : missing ')' before identifier 'propId'
d:\program files\sdk\include\gdiplusbitmap.h(420) : error C2433: 'GetPropertyItemSize' : 'inline' not permitted on data declarations
d:\program files\sdk\include\gdiplusbitmap.h(420) : error C2350: 'Image::GetPropertyItemSize' is not a static member
d:\program files\sdk\include\gdiplusbitmap.h(420) : error C2059: syntax error : ')'
d:\program files\sdk\include\gdiplusbitmap.h(421) : error C2143: syntax error : missing ';' before '{'
d:\program files\sdk\include\gdiplusbitmap.h(421) : error C2447: missing function header (old-style formal list?)
d:\program files\sdk\include\gdiplusbitmap.h(433) : error C2146: syntax error : missing ')' before identifier 'propId'
d:\program files\sdk\include\gdiplusbitmap.h(433) : error C2433: 'GetPropertyItem' : 'inline' not permitted on data declarations
d:\program files\sdk\include\gdiplusbitmap.h(433) : error C2350: 'Image::GetPropertyItem' is not a static member
d:\program files\sdk\include\gdiplusbitmap.h(433) : error C2440: 'initializing' : cannot convert from 'int' to 'enum Gdiplus::Status'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
d:\program files\sdk\include\gdiplusbitmap.h(436) : error C2059: syntax error : ')'
d:\program files\sdk\include\gdiplusbitmap.h(437) : error C2143: syntax error : missing ';' before '{'
d:\program files\sdk\include\gdiplusbitmap.h(437) : error C2447: missing function header (old-style formal list?)
d:\program files\sdk\include\gdiplusbitmap.h(473) : error C2146: syntax error : missing ')' before identifier 'propId'
d:\program files\sdk\include\gdiplusbitmap.h(473) : error C2433: 'RemovePropertyItem' : 'inline' not permitted on data declarations
d:\program files\sdk\include\gdiplusbitmap.h(473) : error C2350: 'Image::RemovePropertyItem' is not a static member
d:\program files\sdk\include\gdiplusbitmap.h(473) : fatal error C1003: error count exceeds 100; stopping compilation
Generating Code...
Compiling...
TControl.cpp
d:\program files\sdk\include\gdiplusimaging.h(67) : error C2501: 'MIDL_INTERFACE' : missing storage-class or type specifiers
d:\program files\sdk\include\gdiplusimaging.h(67) : error C2440: 'initializing' : cannot convert from 'char [37]' to 'int'
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast
d:\program files\sdk\include\gdiplusimaging.h(67) : error C2146: syntax error : missing ';' before identifier 'IImageBytes'
d:\program files\sdk\include\gdiplusimaging.h(67) : error C2501: 'IImageBytes' : missing storage-class or type specifiers
d:\program files\sdk\include\gdiplusimaging.h(67) : error C2239: unexpected token ':' following declaration of 'IImageBytes'
d:\program files\sdk\include\gdiplusimaging.h(67) : error C2059: syntax error : 'public'
d:\program files\sdk\include\gdiplusimaging.h(246) : error C2146: syntax error : missing ';' before identifier 'id'
d:\program files\sdk\include\gdiplusimaging.h(246) : error C2501: 'PROPID' : missing storage-class or type specifiers
d:\program files\sdk\include\gdiplusimaging.h(246) : error C2501: 'id' : missing storage-class or type specifiers
d:\program files\sdk\include\gdiplusheaders.h(384) : error C2629: unexpected 'class Gdiplus::Image ('
d:\program files\sdk\include\gdiplusheaders.h(384) : error C2238: unexpected token(s) preceding ';'
d:\program files\sdk\include\gdiplusheaders.h(395) : error C2061: syntax error : identifier 'IStream'
d:\program files\sdk\include\gdiplusheaders.h(405) : error C2061: syntax error : identifier 'IStream'
d:\program files\sdk\include\gdiplusheaders.h(443) : error C2061: syntax error : identifier 'PROPID'
d:\program files\sdk\include\gdiplusheaders.h(444) : error C2061: syntax error : identifier 'PROPID'
d:\program files\sdk\include\gdiplusheaders.h(445) : error C2061: syntax error : identifier 'PROPID'
d:\program files\sdk\include\gdiplusheaders.h(453) : error C2061: syntax error : identifier 'PROPID'
d:\program files\sdk\include\gdiplusheaders.h(499) : error C2629: unexpected 'class Gdiplus::Bitmap ('
d:\program files\sdk\include\gdiplusheaders.h(499) : error C2238: unexpected token(s) preceding ';'
d:\program files\sdk\include\gdiplusheaders.h(510) : error C2061: syntax error : identifier 'IStream'
d:\program files\sdk\include\gdiplusflat.h(1133) : error C2065: 'IStream' : undeclared identifier
d:\program files\sdk\include\gdiplusflat.h(1133) : error C2065: 'stream' : undeclared identifier
d:\program files\sdk\include\gdiplusflat.h(1133) : error C2065: 'image' : undeclared identifier
d:\program files\sdk\include\gdiplusflat.h(1133) : error C2100: illegal indirection
d:\program files\sdk\include\gdiplusflat.h(1133) : error C2275: 'GpImage' : illegal use of this type as an expression
        d:\program files\sdk\include\gdiplusgpstubs.h(61) : see declaration of 'GpImage'
d:\program files\sdk\include\gdiplusflat.h(1133) : warning C4229: anachronism used : modifiers on data are ignored
d:\program files\sdk\include\gdiplusflat.h(1133) : error C2078: too many initializers
d:\program files\sdk\include\gdiplusflat.h(1139) : error C2100: illegal indirection
d:\program files\sdk\include\gdiplusflat.h(1139) : error C2275: 'GpImage' : illegal use of this type as an expression
        d:\program files\sdk\include\gdiplusgpstubs.h(61) : see declaration of 'GpImage'
d:\program files\sdk\include\gdiplusflat.h(1139) : warning C4229: anachronism used : modifiers on data are ignored
d:\program files\sdk\include\gdiplusflat.h(1139) : error C2078: too many initializers
d:\program files\sdk\include\gdiplusflat.h(1156) : error C2061: syntax error : identifier 'IStream'
d:\program files\sdk\include\gdiplusflat.h(1244) : error C2061: syntax error : identifier 'PROPID'
d:\program files\sdk\include\gdiplusflat.h(1247) : error C2061: syntax error : identifier 'PROPID'
d:\program files\sdk\include\gdiplusflat.h(1250) : error C2061: syntax error : identifier 'PROPID'
d:\program files\sdk\include\gdiplusflat.h(1262) : error C2061: syntax error : identifier 'PROPID'
d:\program files\sdk\include\gdiplusflat.h(1275) : error C2065: 'bitmap' : undeclared identifier
d:\program files\sdk\include\gdiplusflat.h(1275) : error C2100: illegal indirection
d:\program files\sdk\include\gdiplusflat.h(1275) : error C2275: 'GpBitmap' : illegal use of this type as an expression
        d:\program files\sdk\include\gdiplusgpstubs.h(62) : see declaration of 'GpBitmap'
d:\program files\sdk\include\gdiplusflat.h(1275) : warning C4229: anachronism used : modifiers on data are ignored
d:\program files\sdk\include\gdiplusflat.h(1275) : error C2078: too many initializers
d:\program files\sdk\include\gdiplusflat.h(1281) : error C2100: illegal indirection
d:\program files\sdk\include\gdiplusflat.h(1281) : error C2275: 'GpBitmap' : illegal use of this type as an expression
        d:\program files\sdk\include\gdiplusgpstubs.h(62) : see declaration of 'GpBitmap'
d:\program files\sdk\include\gdiplusflat.h(1281) : warning C4229: anachronism used : modifiers on data are ignored
d:\program files\sdk\include\gdiplusflat.h(1281) : error C2078: too many initializers
d:\program files\sdk\include\gdiplusflat.h(2128) : error C2065: 'header' : undeclared identifier
d:\program files\sdk\include\gdiplusflat.h(2128) : error C2275: 'MetafileHeader' : illegal use of this type as an expression
        d:\program files\sdk\include\gdiplusmetaheader.h(112) : see declaration of 'MetafileHeader'
d:\program files\sdk\include\gdiplusflat.h(2128) : warning C4229: anachronism used : modifiers on data are ignored
d:\program files\sdk\include\gdiplusflat.h(2128) : error C2078: too many initializers
d:\program files\sdk\include\gdiplusflat.h(2146) : error C2061: syntax error : identifier 'IStream'
d:\program files\sdk\include\gdiplusflat.h(2166) : error C2065: 'metafile' : undeclared identifier
d:\program files\sdk\include\gdiplusflat.h(2166) : error C2100: illegal indirection
d:\program files\sdk\include\gdiplusflat.h(2166) : error C2275: 'GpMetafile' : illegal use of this type as an expression
        d:\program files\sdk\include\gdiplusgpstubs.h(63) : see declaration of 'GpMetafile'
d:\program files\sdk\include\gdiplusflat.h(2166) : warning C4229: anachronism used : modifiers on data are ignored
d:\program files\sdk\include\gdiplusflat.h(2166) : error C2078: too many initializers
d:\program files\sdk\include\gdiplusflat.h(2213) : error C2275: 'HDC' : illegal use of this type as an expression
        d:\program files\sdk\include\windef.h(260) : see declaration of 'HDC'
d:\program files\sdk\include\gdiplusflat.h(2213) : error C2146: syntax error : missing ')' before identifier 'referenceHdc'
d:\program files\sdk\include\gdiplusflat.h(2213) : warning C4229: anachronism used : modifiers on data are ignored
d:\program files\sdk\include\gdiplusflat.h(2213) : error C2078: too many initializers
d:\program files\sdk\include\gdiplusflat.h(2213) : error C2275: 'HDC' : illegal use of this type as an expression
        d:\program files\sdk\include\windef.h(260) : see declaration of 'HDC'
d:\program files\sdk\include\gdiplusflat.h(2219) : error C2059: syntax error : ')'
d:\program files\sdk\include\gdiplusflat.h(2224) : error C2275: 'HDC' : illegal use of this type as an expression
        d:\program files\sdk\include\windef.h(260) : see declaration of 'HDC'
d:\program files\sdk\include\gdiplusflat.h(2224) : error C2146: syntax error : missing ')' before identifier 'referenceHdc'
d:\program files\sdk\include\gdiplusflat.h(2224) : warning C4229: anachronism used : modifiers on data are ignored
d:\program files\sdk\include\gdiplusflat.h(2224) : error C2078: too many initializers
d:\program files\sdk\include\gdiplusflat.h(2224) : error C2275: 'HDC' : illegal use of this type as an expression
        d:\program files\sdk\include\windef.h(260) : see declaration of 'HDC'
d:\program files\sdk\include\gdiplusflat.h(2230) : error C2059: syntax error : ')'
d:\program files\sdk\include\gdiplusmetafile.h(80) : error C2629: unexpected 'class Gdiplus::Metafile ('
d:\program files\sdk\include\gdiplusmetafile.h(80) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
d:\program files\sdk\include\gdiplusmetafile.h(197) : error C2629: unexpected 'class Gdiplus::Metafile ('
d:\program files\sdk\include\gdiplusmetafile.h(197) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
d:\program files\sdk\include\gdiplusmetafile.h(213) : error C2629: unexpected 'class Gdiplus::Metafile ('
d:\program files\sdk\include\gdiplusmetafile.h(213) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
d:\program files\sdk\include\gdiplusmetafile.h(231) : error C2629: unexpected 'class Gdiplus::Metafile ('
d:\program files\sdk\include\gdiplusmetafile.h(231) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
d:\program files\sdk\include\gdiplusmetafile.h(277) : error C2061: syntax error : identifier 'IStream'
d:\program files\sdk\include\gdiplusbitmap.h(45) : error C2275: 'BOOL' : illegal use of this type as an expression
        d:\program files\sdk\include\windef.h(152) : see declaration of 'BOOL'
d:\program files\sdk\include\gdiplusbitmap.h(45) : error C2146: syntax error : missing ')' before identifier 'useEmbeddedColorManagement'
d:\program files\sdk\include\gdiplusbitmap.h(45) : error C2433: '__ctor' : 'inline' not permitted on data declarations
d:\program files\sdk\include\gdiplusbitmap.h(45) : error C2350: 'Image::Image::Image' is not a static member
d:\program files\sdk\include\gdiplusbitmap.h(45) : error C2078: too many initializers
d:\program files\sdk\include\gdiplusbitmap.h(45) : error C2275: 'BOOL' : illegal use of this type as an expression
        d:\program files\sdk\include\windef.h(152) : see declaration of 'BOOL'
d:\program files\sdk\include\gdiplusbitmap.h(45) : error C2059: syntax error : ')'
d:\program files\sdk\include\gdiplusbitmap.h(46) : error C2143: syntax error : missing ';' before '{'
d:\program files\sdk\include\gdiplusbitmap.h(46) : error C2447: missing function header (old-style formal list?)
d:\program files\sdk\include\gdiplusbitmap.h(78) : error C2061: syntax error : identifier 'IStream'
d:\program files\sdk\include\gdiplusbitmap.h(85) : error C2065: 'useEmbeddedColorManagement' : undeclared identifier
d:\program files\sdk\include\gdiplusbitmap.h(146) : error C2059: syntax error : 'const'
d:\program files\sdk\include\gdiplusbitmap.h(149) : error C2143: syntax error : missing ';' before '{'
d:\program files\sdk\include\gdiplusbitmap.h(149) : error C2447: missing function header (old-style formal list?)
d:\program files\sdk\include\gdiplusbitmap.h(410) : error C2061: syntax error : identifier 'PROPID'
d:\program files\sdk\include\gdiplusbitmap.h(414) : error C2065: 'list' : undeclared identifier
d:\program files\sdk\include\gdiplusbitmap.h(419) : error C2065: 'PROPID' : undeclared identifier
d:\program files\sdk\include\gdiplusbitmap.h(420) : error C2146: syntax error : missing ')' before identifier 'propId'
d:\program files\sdk\include\gdiplusbitmap.h(420) : error C2433: 'GetPropertyItemSize' : 'inline' not permitted on data declarations
d:\program files\sdk\include\gdiplusbitmap.h(420) : error C2350: 'Image::GetPropertyItemSize' is not a static member
d:\program files\sdk\include\gdiplusbitmap.h(420) : error C2059: syntax error : ')'
d:\program files\sdk\include\gdiplusbitmap.h(421) : error C2143: syntax error : missing ';' before '{'
d:\program files\sdk\include\gdiplusbitmap.h(421) : error C2447: missing function header (old-style formal list?)
d:\program files\sdk\include\gdiplusbitmap.h(433) : error C2146: syntax error : missing ')' before identifier 'propId'
d:\program files\sdk\include\gdiplusbitmap.h(433) : error C2433: 'GetPropertyItem' : 'inline' not permitted on data declarations
d:\program files\sdk\include\gdiplusbitmap.h(433) : error C2350: 'Image::GetPropertyItem' is not a static member
d:\program files\sdk\include\gdiplusbitmap.h(433) : error C2440: 'initializing' : cannot convert from 'int' to 'enum Gdiplus::Status'
        Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
d:\program files\sdk\include\gdiplusbitmap.h(436) : error C2059: syntax error : ')'
d:\program files\sdk\include\gdiplusbitmap.h(437) : error C2143: syntax error : missing ';' before '{'
d:\program files\sdk\include\gdiplusbitmap.h(437) : error C2447: missing function header (old-style formal list?)
d:\program files\sdk\include\gdiplusbitmap.h(473) : error C2146: syntax error : missing ')' before identifier 'propId'
d:\program files\sdk\include\gdiplusbitmap.h(473) : error C2433: 'RemovePropertyItem' : 'inline' not permitted on data declarations
d:\program files\sdk\include\gdiplusbitmap.h(473) : error C2350: 'Image::RemovePropertyItem' is not a static member
d:\program files\sdk\include\gdiplusbitmap.h(473) : fatal error C1003: error count exceeds 100; stopping compilation
Generating Code...
Error executing cl.exe.


iadmin.exe - 204 error(s), 16 warning(s)