Missing type ???????

bzouli Messages postés 11 Date d'inscription vendredi 20 février 2004 Statut Membre Dernière intervention 4 mai 2004 - 24 févr. 2004 à 13:11
ymca2003 Messages postés 2070 Date d'inscription mardi 22 avril 2003 Statut Membre Dernière intervention 3 juillet 2006 - 25 févr. 2004 à 15:03
Bonjour,

J'importe une librairie, mais il me dit (erreur C2772) que il manque une seconde (que je ne connait pas évidemment), et donc il me plante comme ça...
Que Faire ??

3 réponses

ymca2003 Messages postés 2070 Date d'inscription mardi 22 avril 2003 Statut Membre Dernière intervention 3 juillet 2006 7
24 févr. 2004 à 21:06
donner le message d'erreur exact...
0
bzouli Messages postés 11 Date d'inscription vendredi 20 février 2004 Statut Membre Dernière intervention 4 mai 2004
25 févr. 2004 à 08:20
et voilà:

Compiling...
main.cpp
h:\prevision\main.cpp(7) : error C2772: #import referenced a type from a missing type library; '__missing_type__' used as a placeholder
h:\prevision\debug\saswman.tlh(575) : error C2146: syntax error : missing ';' before identifier 'CreateWorkspaceByLogicalName'
h:\prevision\debug\saswman.tlh(575) : error C2501: '__missing_type__' : missing storage-class or type specifiers
h:\prevision\debug\saswman.tlh(581) : error C2146: syntax error : missing ';' before identifier 'CreateWorkspaceByServer'
h:\prevision\debug\saswman.tlh(581) : error C2501: '__missing_type__' : missing storage-class or type specifiers
h:\prevision\debug\saswman.tlh(588) : error C2146: syntax error : missing ';' before identifier 'GetWorkspaceByName'
h:\prevision\debug\saswman.tlh(588) : error C2501: '__missing_type__' : missing storage-class or type specifiers
h:\prevision\debug\saswman.tlh(590) : error C2146: syntax error : missing ';' before identifier 'GetWorkspaceByUUID'
h:\prevision\debug\saswman.tlh(590) : error C2501: '__missing_type__' : missing storage-class or type specifiers
h:\prevision\debug\saswman.tlh(593) : error C2061: syntax error : identifier '__missing_type__'
h:\prevision\debug\saswman.tlh(596) : error C2146: syntax error : missing ';' before identifier 'CreateColocatedWorkspace'
h:\prevision\debug\saswman.tlh(596) : error C2501: '__missing_type__' : missing storage-class or type specifiers
h:\prevision\debug\saswman.tlh(599) : error C2061: syntax error : identifier '__missing_type__'
h:\prevision\debug\saswman.tlh(605) : error C2061: syntax error : identifier '__missing_type__'
h:\prevision\debug\saswman.tlh(621) : error C2061: syntax error : identifier '__missing_type__'
h:\prevision\debug\saswman.tlh(629) : error C2061: syntax error : identifier '__missing_type__'
h:\prevision\debug\saswman.tlh(632) : error C2061: syntax error : identifier '__missing_type__'
h:\prevision\debug\saswman.tlh(635) : error C2061: syntax error : identifier '__missing_type__'
h:\prevision\debug\saswman.tlh(637) : error C2061: syntax error : identifier '__missing_type__'
h:\prevision\debug\saswman.tlh(643) : error C2061: syntax error : identifier '__missing_type__'
h:\prevision\debug\saswman.tlh(651) : error C2061: syntax error : identifier '__missing_type__'
h:\prevision\debug\saswman.tlh(843) : error C2146: syntax error : missing ';' before identifier 'Workspace'
h:\prevision\debug\saswman.tlh(843) : error C2501: '__missing_type__' : missing storage-class or type specifiers
h:\prevision\debug\saswman.tlh(843) : error C2501: 'Workspace' : missing storage-class or type specifiers
h:\prevision\debug\saswman.tlh(849) : error C2146: syntax error : missing ';' before identifier 'GetWorkspace'
h:\prevision\debug\saswman.tlh(849) : error C2501: '__missing_type__' : missing storage-class or type specifiers
h:\prevision\debug\saswman.tlh(856) : error C2061: syntax error : identifier '__missing_type__'
h:\prevision\debug\saswman.tli(461) : error C2143: syntax error : missing ';' before 'tag::id'
h:\prevision\debug\saswman.tli(461) : error C2433: '__missing_type__' : 'inline' not permitted on data declarations
h:\prevision\debug\saswman.tli(461) : error C2501: '__missing_type__' : missing storage-class or type specifiers
h:\prevision\debug\saswman.tli(461) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

Prevision.exe - 31 error(s), 0 warning(s)
0
ymca2003 Messages postés 2070 Date d'inscription mardi 22 avril 2003 Statut Membre Dernière intervention 3 juillet 2006 7
25 févr. 2004 à 15:03
vérifie que tu inclus les entêtes standards avnt de faire #import:

#include <windows.h>
#include <objbase.h>
0
Rejoignez-nous