begin process at 2012 05 28 17:10:55
  Trouver un code source :
 
dans
 
Accueil > Forum > 

C++ & C++ .NET

 > 

Windows

 > 

GUI

 > 

la bibhothèque <gdiplus.h>


Derniers messages déposésPoser une question dans le forum ou lancer une discussion

la bibhothèque <gdiplus.h>

lundi 26 avril 2010 à 20:10:36 | la bibhothèque <gdiplus.h>

deae

j' ai creé un projet (win32 project) sous visual studio 2008 et j'ai importé la bibhothèque <gdiplus.h> aprés j'ai compiler le projet sans ajouter d'autre instruction il m'affiche la liste des erreurs suivantes:

1>------ Build started: Project: bb, Configuration: Debug Win32 ------
1>Compiling...
1>bb.cpp
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusimaging.h(74) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusimaging.h(74) : error C2440: 'initializing' : cannot convert from 'const char [37]' to 'int'
1> There is no context in which this conversion is possible
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusimaging.h(74) : error C2146: syntax error : missing ';' before identifier 'IImageBytes'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusimaging.h(74) : error C2470: 'IImageBytes' : looks like a function definition, but there is no parameter list; skipping apparent body
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusimaging.h(74) : error C2059: syntax error : 'public'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusimaging.h(280) : error C2146: syntax error : missing ';' before identifier 'id'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusimaging.h(280) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusimaging.h(280) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(384) : error C2061: syntax error : identifier 'IStream'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(395) : error C2061: syntax error : identifier 'IStream'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(405) : error C2061: syntax error : identifier 'IStream'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(443) : error C2061: syntax error : identifier 'PROPID'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(444) : error C2061: syntax error : identifier 'PROPID'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(445) : error C2061: syntax error : identifier 'PROPID'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(453) : error C2061: syntax error : identifier 'PROPID'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(471) : error C2535: 'Gdiplus::Image::Image(void)' : member function already defined or declared
1> c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(384) : see declaration of 'Gdiplus::Image::Image'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(505) : error C2061: syntax error : identifier 'IStream'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(516) : error C2061: syntax error : identifier 'IStream'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(758) : error C2061: syntax error : identifier 'IStream'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(813) : error C2061: syntax error : identifier 'IStream'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(813) : error C2535: 'Gdiplus::Metafile::Metafile(void)' : member function already defined or declared
1> c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(758) : see declaration of 'Gdiplus::Metafile::Metafile'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(820) : error C2061: syntax error : identifier 'IStream'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(820) : error C2535: 'Gdiplus::Metafile::Metafile(void)' : member function already defined or declared
1> c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(758) : see declaration of 'Gdiplus::Metafile::Metafile'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(829) : error C2061: syntax error : identifier 'IStream'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(829) : error C2535: 'Gdiplus::Metafile::Metafile(void)' : member function already defined or declared
1> c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(758) : see declaration of 'Gdiplus::Metafile::Metafile'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(855) : error C2061: syntax error : identifier 'IStream'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(923) : error C2535: 'Gdiplus::Metafile::Metafile(void)' : member function already defined or declared
1> c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusheaders.h(758) : see declaration of 'Gdiplus::Metafile::Metafile'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1133) : error C2065: 'IStream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1133) : error C2065: 'stream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1133) : error C2065: 'image' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1133) : error C2275: 'Gdiplus::GpImage' : illegal use of this type as an expression
1> c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusgpstubs.h(61) : see declaration of 'Gdiplus::GpImage'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1133) : warning C4229: anachronism used : modifiers on data are ignored
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1133) : error C2078: too many initializers
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1139) : error C2065: 'IStream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1139) : error C2065: 'stream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1139) : error C2065: 'image' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1139) : error C2275: 'Gdiplus::GpImage' : illegal use of this type as an expression
1> c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusgpstubs.h(61) : see declaration of 'Gdiplus::GpImage'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1139) : warning C4229: anachronism used : modifiers on data are ignored
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1139) : error C2078: too many initializers
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1156) : error C2061: syntax error : identifier 'IStream'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1244) : error C2061: syntax error : identifier 'PROPID'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1247) : error C2061: syntax error : identifier 'PROPID'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1250) : error C2061: syntax error : identifier 'PROPID'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1262) : error C2061: syntax error : identifier 'PROPID'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1286) : error C2065: 'IStream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1286) : error C2065: 'stream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1286) : error C2065: 'bitmap' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1286) : error C2275: 'Gdiplus::GpBitmap' : illegal use of this type as an expression
1> c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusgpstubs.h(62) : see declaration of 'Gdiplus::GpBitmap'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1286) : warning C4229: anachronism used : modifiers on data are ignored
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1286) : error C2078: too many initializers
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1292) : error C2065: 'IStream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1292) : error C2065: 'stream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1292) : error C2065: 'bitmap' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1292) : error C2275: 'Gdiplus::GpBitmap' : illegal use of this type as an expression
1> c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusgpstubs.h(62) : see declaration of 'Gdiplus::GpBitmap'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1292) : warning C4229: anachronism used : modifiers on data are ignored
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(1292) : error C2078: too many initializers
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2222) : error C2065: 'IStream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2222) : error C2065: 'stream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2224) : error C2065: 'header' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2224) : error C2275: 'Gdiplus::MetafileHeader' : illegal use of this type as an expression
1> c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetaheader.h(112) : see declaration of 'Gdiplus::MetafileHeader'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2224) : warning C4229: anachronism used : modifiers on data are ignored
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2224) : error C2078: too many initializers
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2242) : error C2061: syntax error : identifier 'IStream'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2262) : error C2065: 'IStream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2262) : error C2065: 'stream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2262) : error C2065: 'metafile' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2262) : error C2275: 'Gdiplus::GpMetafile' : illegal use of this type as an expression
1> c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusgpstubs.h(63) : see declaration of 'Gdiplus::GpMetafile'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2262) : warning C4229: anachronism used : modifiers on data are ignored
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2262) : error C2078: too many initializers
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2309) : error C2065: 'IStream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2309) : error C2065: 'stream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2310) : error C2275: 'HDC' : illegal use of this type as an expression
1> c:\program files\microsoft sdks\windows\v6.0a\include\windef.h(267) : see declaration of 'HDC'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2310) : error C2146: syntax error : missing ')' before identifier 'referenceHdc'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2310) : warning C4229: anachronism used : modifiers on data are ignored
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2310) : error C2078: too many initializers
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2310) : error C2275: 'HDC' : illegal use of this type as an expression
1> c:\program files\microsoft sdks\windows\v6.0a\include\windef.h(267) : see declaration of 'HDC'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2316) : error C2059: syntax error : ')'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2320) : error C2065: 'IStream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2320) : error C2065: 'stream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2321) : error C2275: 'HDC' : illegal use of this type as an expression
1> c:\program files\microsoft sdks\windows\v6.0a\include\windef.h(267) : see declaration of 'HDC'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2321) : error C2146: syntax error : missing ')' before identifier 'referenceHdc'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2321) : warning C4229: anachronism used : modifiers on data are ignored
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2321) : error C2078: too many initializers
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2321) : error C2275: 'HDC' : illegal use of this type as an expression
1> c:\program files\microsoft sdks\windows\v6.0a\include\windef.h(267) : see declaration of 'HDC'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusflat.h(2327) : error C2059: syntax error : ')'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdipluspath.h(133) : error C2061: syntax error : identifier 'byte'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(75) : error C2065: 'IStream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(75) : error C2065: 'stream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(76) : error C2448: 'Gdiplus::Metafile::{ctor}' : function-style initializer appears to be a function definition
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(194) : error C2065: 'IStream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(194) : error C2065: 'stream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(195) : error C2275: 'HDC' : illegal use of this type as an expression
1> c:\program files\microsoft sdks\windows\v6.0a\include\windef.h(267) : see declaration of 'HDC'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(195) : error C2146: syntax error : missing ')' before identifier 'referenceHdc'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(195) : error C2761: '{ctor}' : member function redeclaration not allowed
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(198) : error C2059: syntax error : ')'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(199) : error C2143: syntax error : missing ';' before '{'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(199) : error C2447: '{' : missing function header (old-style formal list?)
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(211) : error C2065: 'IStream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(211) : error C2065: 'stream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(212) : error C2275: 'HDC' : illegal use of this type as an expression
1> c:\program files\microsoft sdks\windows\v6.0a\include\windef.h(267) : see declaration of 'HDC'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(212) : error C2146: syntax error : missing ')' before identifier 'referenceHdc'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(212) : error C2761: '{ctor}' : member function redeclaration not allowed
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(217) : error C2059: syntax error : ')'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(218) : error C2143: syntax error : missing ';' before '{'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(218) : error C2447: '{' : missing function header (old-style formal list?)
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(230) : error C2065: 'IStream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(230) : error C2065: 'stream' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(231) : error C2275: 'HDC' : illegal use of this type as an expression
1> c:\program files\microsoft sdks\windows\v6.0a\include\windef.h(267) : see declaration of 'HDC'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(231) : error C2146: syntax error : missing ')' before identifier 'referenceHdc'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(231) : error C2761: '{ctor}' : member function redeclaration not allowed
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(236) : error C2059: syntax error : ')'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gdiplusmetafile.h(236) : fatal error C1003: error count exceeds 100; stopping compilation
1>Build log was saved at "file://c:\Documents and Settings\deae.AROUMIA-2EC7E63\Mes documents\Visual Studio 2008\Projects\bb\bb\Debug\BuildLog.htm"
1>bb - 104 error(s), 8 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
mardi 27 avril 2010 à 10:07:50 | Re : la bibhothèque <gdiplus.h>

louis14


Bonjour,
Tu as mis les fichiers header dans le bon ordre?


louis


Cette discussion est classée dans : microsoft, error, program, files, sdks


Répondre à ce message

Sujets en rapport avec ce message

A l'aide ! [ par darunia ] Salut,Je suis debutant en c++ et j'ai un probleme de compilation.e:\program files\microsoft visual studio\vc98\include\excpt.h(36) : warning C4518: 'e Connexion base oracle avec ou sans ado? [ par danydanledanois ] Bonjour à tous,ca fait un moment (plus de trois ans) que je n'ai plus développé en C++ et là je dois m'y remettre... seulement le problème c'est que j PROBLEME WINDOW/SOCKET [ par zzzzzz ] Voila le truc j'aimerai que quand on clique sur le bouton connecter sa connect un socket a n'importe kel ip c pas la question. mon applic window march Problème entre winsock2.h et ma boite de dialogue... [ par XKaliBur ] Ma boite de dialogue est vierge je n'ais absolument rien rajouter ormis le #include et #pragma comment(lib, "ws2_32.lib") et lorsque je compile j'obt Probleme completement inexplicable !!! [ par anonyme_man_in_this_world ] salut !! ça sera simpa si quelqu'un essaye de m'aider à corriger ces fautes inexplicable ************************************************************ winsock: 64 erreurs [ par Tibabou ] Bonjour/soir,J'avais fait un code qui fonctionnait très bien en mode console, j'ai tenter de l'adapter sur une apllication windows et voilà toutes les Pb de compilation Visual C++ [ par elo29 ] Bonjour, Je travaille actuellement sur un programme permettant d'extraire les images d'une vidéo et de les convertir en bmp. En entête j'ai afx.h et Erreur de compilation avec VC++ 2005 [ par Jakariba ] Bonjour,Dans une window form. j'essaie de me connecter à un serveur distant avec une adresse IP et un port spécifique, je n'ai inclu que winsock.h san warning bizarre [ par pepitoooo ] J'ai fait un programme utilisant des templates et de l'heritage.Quand je le compile tout marche mais le compilateur me donne le warning suivantc:\prog


Nos sponsors


Sondage...

Comparez les prix

CalendriCode

Mai 2012
LMMJVSD
 123456
78910111213
14151617181920
21222324252627
28293031   

Consulter la suite du CalendriCode

Photothèque

A découvrir



 
Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel (EBArtSoft), Merci à Vincent pour ses précieux conseils.
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés

Google Coop CodeS-SourceS Google Coop CodeS-SourceS
Temps d'éxécution de la page : 1,264 sec (3)

Nous contacter | Annoncer sur CodeS-SourceS | Mentions légales