IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

C Discussion :

Instanciation d'un objet COM en C


Sujet :

C

  1. #1
    Futur Membre du Club
    Profil pro
    Inscrit en
    Octobre 2011
    Messages
    29
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2011
    Messages : 29
    Points : 6
    Points
    6
    Par défaut Instanciation d'un objet COM en C
    Bonjour à tous,
    J'aimerai crée un objet COM, en utilisant la fonction :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    CoCreateInstance(
    REFCLSID rclsid, /*Class identifier (CLSID) of the object */
    LPUNKNOWN pUnkOuter,
    /*Pointer to whether object is or isn’t part of an aggregate */
    DWORD dwClsContext,
    /*Context for creating the object*/
    REFIID riid,
    /*Reference to the identifier of the interface (a pointer in C, a reference variable in C++*/
    LPVOID * ppv
    /*Indirect pointer to requested interface if successful, NULL otherwise*/);
    Sauf que je ne sais pas trop quoi mettre comme paramètre.
    Je sais que le CLSID est l'identifiant unique de l'objet et je l'ai trouvé dans la base de registre,mais par contre pour l'interface je ne sais pas.
    j'ai fait des recherches mais ça reste un peu flou pour moi, si quelqu'un a un exemple pour m'aider.
    Je vous remercie d'avance.

  2. #2
    Expert éminent
    Avatar de Melem
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Janvier 2006
    Messages
    3 656
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 38
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Électronique et micro-électronique

    Informations forums :
    Inscription : Janvier 2006
    Messages : 3 656
    Points : 8 389
    Points
    8 389
    Par défaut
    Je sais que le CLSID est l'identifiant unique de l'objet et je l'ai trouvé dans la base de registre,mais par contre pour l'interface je ne sais pas.
    Ce n'est pas bien de fouiller dans le registre. Pour utiliser un composant COM, il faut la doc de ce composant, il ne suffit pas de connaître son id de classe et les ids de ses différentes interfaces. Sans doc, c'est perdu d'avance. Quel classe veux-tu instancier néanmoins, au cas où je pourrais t'indiquer où trouver la doc.

  3. #3
    Expert confirmé Avatar de fregolo52
    Homme Profil pro
    Développeur C
    Inscrit en
    Août 2004
    Messages
    2 366
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur C

    Informations forums :
    Inscription : Août 2004
    Messages : 2 366
    Points : 5 382
    Points
    5 382
    Par défaut
    Petite notion de "vocabulaire" : Tu ne veux pas créer un objet COM mais l'instancier.

    Avec Visual Studio, il y a un outil nommé OLEViewer.
    Il permet de charger l'objet COM (dll ou exe) et de voir les prototype des interfaces.

  4. #4
    Futur Membre du Club
    Profil pro
    Inscrit en
    Octobre 2011
    Messages
    29
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2011
    Messages : 29
    Points : 6
    Points
    6
    Par défaut
    Bonjour et merci pour vos réponses,

    Melem: le but de mon travail est de faire communiquer deux logiciels via les objets COM.
    Pour l'instant j'ai crée un projet sous Visual Studio et j’essaie déjà de communiquer avec un seul logiciel.
    Pour les deux logiciels j'ai la doc fournie.

    fregolo52 : peux-tu stp me dire ou se trouve cet outil, j'ai Visual Studio 2010, et c'est ma première utilisation donc je ne le maitrise pas bien.
    Merci pour la correction du vocabulaire.

    Merci pour votre aide.

  5. #5
    Expert confirmé Avatar de fregolo52
    Homme Profil pro
    Développeur C
    Inscrit en
    Août 2004
    Messages
    2 366
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur C

    Informations forums :
    Inscription : Août 2004
    Messages : 2 366
    Points : 5 382
    Points
    5 382
    Par défaut
    je n'ai pas 2010 sous la main.
    Mais sous 2005, dans le menu "Tools" tu dois y trouver Ole View.
    Si tu ne l'as pas télécharge-le, c'est plus simple (que de retrouver dans le setup de Visual pour cocher la bonne option).

  6. #6
    Futur Membre du Club
    Profil pro
    Inscrit en
    Octobre 2011
    Messages
    29
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2011
    Messages : 29
    Points : 6
    Points
    6
    Par défaut
    j'ai installé OLEView, j'ai trouvé le logiciel qui m’intéresse dans "type libraries",
    j'ai trouvé le uuid qui correspond au CLSID(je pense), et plusieurs interfaces,
    qui correspondent aux classes citées dans la doc du logiciels.
    Mais j'ai pas trouvé les autres paramètres de la fonction CoCreateInstance().
    Une idée de ou ils se trouvent?

    Merci d'avance.

  7. #7
    Expert éminent sénior
    Avatar de Médinoc
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Septembre 2005
    Messages
    27 381
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Septembre 2005
    Messages : 27 381
    Points : 41 582
    Points
    41 582
    Par défaut
    • pUnkOuter est nul puisque tu ne fais pas d'aggrégation
    • Pour ClsCtx ça dépend de ce que supporte le composant. S'il contient une clé InprocServer32, tu peux l'instancier en CLSCTX_INPROC_SERVER
    • riid et ppv vont ensemble: Tu y mets le GUID de l'interface et un pointeur vers ton pointeur (le B-A-BA de COM, quoi).

  8. #8
    Futur Membre du Club
    Profil pro
    Inscrit en
    Octobre 2011
    Messages
    29
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2011
    Messages : 29
    Points : 6
    Points
    6
    Par défaut
    Merci Médinoc pour ta réponse,

    riid et ppv vont ensemble: Tu y mets le GUID de l'interface et un pointeur vers ton pointeur (le B-A-BA de COM, quoi)
    Pour le GUID de l'interface je l'ai, mais pour le pointeur vers mon pointeur je ne sais pas ce qu'il faut mettre, si tu peux m'expliquer un peu plus stp.

    Voila ce que je fais:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
     
    DEFINE_GUID( clsid,
    0x21143c01, 0xdddf, 0x11d0, 0xab, 0x8f, 0x0, 0x0, 0xc0, 0x14, 0x8f, 0xdb);
     
    /* {06F1BAD0-DD14-11d0-AB8F-0000C0148FDB}  */
    DEFINE_GUID(riid,
    0x6f1bad0, 0xdd14, 0x11d0, 0xab, 0x8f, 0x0, 0x0, 0xc0, 0x14, 0x8f, 0xdb);
     
    int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow )
    {
    	HRESULT  hres = CoCreateInstance(clsid, NULL, CLSCTX_LOCAL_SERVER, riid, ???);
     
    }
    Merci pour ton aide.

  9. #9
    Expert éminent sénior
    Avatar de Médinoc
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Septembre 2005
    Messages
    27 381
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Septembre 2005
    Messages : 27 381
    Points : 41 582
    Points
    41 582
    Par défaut
    Tu dois avoir le fichier d'en-tête qui définit l'interface (si tu as juste une Type Library, en C, tu es dans la M*** mais tu peux plus ou moins reconstituer le fichier .idl avec OLEVIEW, puis recompiler le .idl pour obtenir un .h).

    Et ensuite:
    Code C : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
     
    DEFINE_GUID( CLSID_LA_CLASSE_EN_QUESTION,
    0x21143c01, 0xdddf, 0x11d0, 0xab, 0x8f, 0x0, 0x0, 0xc0, 0x14, 0x8f, 0xdb);
     
    /* {06F1BAD0-DD14-11d0-AB8F-0000C0148FDB}  */
    DEFINE_GUID(IID_L_INTERFACE_EN_QUESTION,
    0x6f1bad0, 0xdd14, 0x11d0, 0xab, 0x8f, 0x0, 0x0, 0xc0, 0x14, 0x8f, 0xdb);
     
    int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow )
    {
    	/*(Insérer appel à CoInitialize() ici)*/
     
    	ILInterfaceEnQuestion * pObj = NULL;
    	HRESULT  hres = CoCreateInstance(
    		CLSID_LA_CLASSE_EN_QUESTION, 
    		NULL, 
    		CLSCTX_LOCAL_SERVER, 
    		IID_L_INTERFACE_EN_QUESTION,
    		(void**)&pObj
    		);
     
    	if(SUCCEEDED(hres))
    	{
    		/*
    		Travail sur l'objet
    		...
    		*/
     
    		/*Libération de l'objet, version C*/		
    		pObj->lpVtbl->Release(pObj), pObj=NULL;
    	}
     
    	/*(Insérer appel à CoUninitialize() ici)*/
     
    	return 0;
    }

  10. #10
    Futur Membre du Club
    Profil pro
    Inscrit en
    Octobre 2011
    Messages
    29
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2011
    Messages : 29
    Points : 6
    Points
    6
    Par défaut
    Est ce tu as un exemple stp parce que la je suis perdue

  11. #11
    Expert éminent sénior
    Avatar de Médinoc
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Septembre 2005
    Messages
    27 381
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Septembre 2005
    Messages : 27 381
    Points : 41 582
    Points
    41 582
    Par défaut
    Ouvre la Type Library avec OLEVIEW, tu devrais avoir le moyen de voir un code IDL qui définit les interfaces.

    Avec ça, tu peux utiliser le compilateur IDL de Visual (MIDL.EXE) pour obtenir le .h qui marche en C comme en C++.

  12. #12
    Futur Membre du Club
    Profil pro
    Inscrit en
    Octobre 2011
    Messages
    29
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2011
    Messages : 29
    Points : 6
    Points
    6
    Par défaut
    J'ai compilé le fichier .idl pour avoir le fichier.h comme tu m'as dit, mais j'ai des erreurs si tu as une idée stp:

    error MIDL2025 : syntax error : expecting an interface name or DispatchInterfaceName or CoclassName or ModuleName or LibraryName or ContractName or a type specification near "*■"
    error MIDL2026 : cannot recover from earlier syntax errors; aborting compilation

    Ainsi que beaucoup de warning du type: warning: null character(s) ignored

    et un à la fin :warning: no newline at end of file


    Merci d'avance.

  13. #13
    Expert éminent sénior
    Avatar de Médinoc
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Septembre 2005
    Messages
    27 381
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Septembre 2005
    Messages : 27 381
    Points : 41 582
    Points
    41 582
    Par défaut
    Poste le fichier .idl.

  14. #14
    Futur Membre du Club
    Profil pro
    Inscrit en
    Octobre 2011
    Messages
    29
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2011
    Messages : 29
    Points : 6
    Points
    6
    Par défaut
    Bonjour Médinoc,
    je n'arrive pas à poster le fichier .idl sur le forum, il me met fichier non valide.
    est ce que je peux te l'envoyer par mail?

    Merci d'avance

  15. #15
    Expert éminent sénior
    Avatar de Médinoc
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Septembre 2005
    Messages
    27 381
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Septembre 2005
    Messages : 27 381
    Points : 41 582
    Points
    41 582
    Par défaut
    Est-il trop grand pour le poster dans une balise [CODE]?

    Ou en .txt?

  16. #16
    Futur Membre du Club
    Profil pro
    Inscrit en
    Octobre 2011
    Messages
    29
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2011
    Messages : 29
    Points : 6
    Points
    6
    Par défaut
    Voila je l'ai compressé.(je n'avais pas vu qu'on pouvait mettre des .rar)
    Fichiers attachés Fichiers attachés

  17. #17
    Expert éminent sénior
    Avatar de Médinoc
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Septembre 2005
    Messages
    27 381
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Septembre 2005
    Messages : 27 381
    Points : 41 582
    Points
    41 582
    Par défaut
    Je n'ai aucune erreur dans MIDL (Visual 2005), mais beaucoup de warnings.
    En ajoutant l'option /h e3.h, j'ai pu créer le fichier.

    Code X : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    Processing .\e3.IDL
    Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\oaidl.idl
    Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\objidl.idl
    Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\unknwn.idl
    Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\wtypes.idl
    Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\basetsd.h
    Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\guiddef.h
    Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\oaidl.acf
    .\e3.IDL(106) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'item' of Procedure 'PutMessage' ( Interface 'IApplicationInterface' ) ]
    .\e3.IDL(106) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'item' of Procedure 'PutMessage' ( Interface 'IApplicationInterface' ) ]
    .\e3.IDL(112) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'item' of Procedure 'PutInfo' ( Interface 'IApplicationInterface' ) ]
    .\e3.IDL(112) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'item' of Procedure 'PutInfo' ( Interface 'IApplicationInterface' ) ]
    .\e3.IDL(118) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'item' of Procedure 'PutWarning' ( Interface 'IApplicationInterface' ) ]
    .\e3.IDL(118) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'item' of Procedure 'PutWarning' ( Interface 'IApplicationInterface' ) ]
    .\e3.IDL(124) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'item' of Procedure 'PutError' ( Interface 'IApplicationInterface' ) ]
    .\e3.IDL(124) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'item' of Procedure 'PutError' ( Interface 'IApplicationInterface' ) ]
    .\e3.IDL(276) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'avoid' of Procedure 'AvoidAutomaticClosing' ( Interface 'IApplicationInterface' ) ]
    .\e3.IDL(276) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'avoid' of Procedure 'AvoidAutomaticClosing' ( Interface 'IApplicationInterface' ) ]
    .\e3.IDL(304) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'index' of Procedure 'GetLogfileName' ( Interface 'IApplicationInterface' ) ]
    .\e3.IDL(304) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'index' of Procedure 'GetLogfileName' ( Interface 'IApplicationInterface' ) ]
    .\e3.IDL(309) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'index' of Procedure 'SetLogfileName' ( Interface 'IApplicationInterface' ) ]
    .\e3.IDL(309) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'index' of Procedure 'SetLogfileName' ( Interface 'IApplicationInterface' ) ]
    .\e3.IDL(71) : warning MIDL2362 : too many methods in the interface, requires Windows NT 4.0 SP3 or greater : [ Interface 'IApplicationInterface'  ]
    .\e3.IDL(504) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'posx' of Procedure 'ImportDrawing' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(504) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'posx' of Procedure 'ImportDrawing' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(504) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'posy' of Procedure 'ImportDrawing' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(504) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'posy' of Procedure 'ImportDrawing' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(607) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'symnam' of Procedure 'GetSymbolIds' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(607) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'level' of Procedure 'GetSymbolIds' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(607) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'level' of Procedure 'GetSymbolIds' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(607) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'view' of Procedure 'GetSymbolIds' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(607) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'view' of Procedure 'GetSymbolIds' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(640) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'attnam' of Procedure 'GetAttributeIds' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(674) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'flags' of Procedure 'GetAllConnectionCount' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(674) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'flags' of Procedure 'GetAllConnectionCount' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(679) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'flags' of Procedure 'GetAllConnectionIds' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(679) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'flags' of Procedure 'GetAllConnectionIds' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(724) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'txttyp' of Procedure 'GetTextIds' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(724) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'search_string' of Procedure 'GetTextIds' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(724) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'search_string' of Procedure 'GetTextIds' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(915) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'flags' of Procedure 'GetSelectedConnectionCount' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(915) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'flags' of Procedure 'GetSelectedConnectionCount' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(920) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'flags' of Procedure 'GetSelectedConnectionIds' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(920) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'flags' of Procedure 'GetSelectedConnectionIds' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1023) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'unlock' of Procedure 'NewMultiuser' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1023) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'unlock' of Procedure 'NewMultiuser' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1090) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'xp' of Procedure 'GetPartExtension' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1090) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'yp' of Procedure 'GetPartExtension' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1090) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'IsPanel' of Procedure 'GetPartExtension' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1129) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'password' of Procedure 'ExportPDF' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1135) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'level' of Procedure 'ImportDDSC' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1135) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'level' of Procedure 'ImportDDSC' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1283) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'logfile' of Procedure 'Verify' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1283) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'logfile' of Procedure 'Verify' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1319) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'withSymbol' of Procedure 'UpdateComponent' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1319) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'withSymbol' of Procedure 'UpdateComponent' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1327) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'withSymbol' of Procedure 'UpdateAllComponents' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1327) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'withSymbol' of Procedure 'UpdateAllComponents' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1433) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'txttyp' of Procedure 'GetNewTextIds' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1433) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'search_string' of Procedure 'GetNewTextIds' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1433) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'search_string' of Procedure 'GetNewTextIds' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1473) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'file' of Procedure 'ImportBoardLayout' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1473) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'flags' of Procedure 'ImportBoardLayout' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1473) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'map' of Procedure 'ImportBoardLayout' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1481) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'file' of Procedure 'ExportBoardLayout' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1481) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'flags' of Procedure 'ExportBoardLayout' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1481) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'map' of Procedure 'ExportBoardLayout' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1544) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'type' of Procedure 'GetLastModifiedItems' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1549) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'type' of Procedure 'GetLastAddedItems' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(1742) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'newdesc' of Procedure 'RenameMultiuser' ( Interface 'IJobInterface' ) ]
    .\e3.IDL(469) : warning MIDL2363 : too many methods in the interface, requires Windows 2000 or greater : [ Interface 'IJobInterface'  ]
    .\e3.IDL(2496) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'attnam' of Procedure 'GetAttributeIds' ( Interface 'IBundleInterface' ) ]
    .\e3.IDL(2631) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'txttyp' of Procedure 'GetTextIds' ( Interface 'IAttributeInterface' ) ]
    .\e3.IDL(2631) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'search_string' of Procedure 'GetTextIds' ( Interface 'IAttributeInterface' ) ]
    .\e3.IDL(2631) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'search_string' of Procedure 'GetTextIds' ( Interface 'IAttributeInterface' ) ]
    .\e3.IDL(2637) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'id' of Procedure 'DisplayAttribute' ( Interface 'IAttributeInterface' ) ]
    .\e3.IDL(2637) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'id' of Procedure 'DisplayAttribute' ( Interface 'IAttributeInterface' ) ]
    .\e3.IDL(2648) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'bindid' of Procedure 'DisplayValueAt' ( Interface 'IAttributeInterface' ) ]
    .\e3.IDL(2648) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'bindid' of Procedure 'DisplayValueAt' ( Interface 'IAttributeInterface' ) ]
    .\e3.IDL(2692) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'attnam' of Procedure 'GetAttributeIds' ( Interface 'IComponentInterface' ) ]
    .\e3.IDL(2767) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'attnam' of Procedure 'GetAttributeIds' ( Interface 'IConnectionInterface' ) ]
    .\e3.IDL(2951) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'attnam' of Procedure 'GetAttributeIds' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3014) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'attnam' of Procedure 'GetEndAttributeIds' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3049) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'get_mode' of Procedure 'GetSymbolCount' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3049) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'get_mode' of Procedure 'GetSymbolCount' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3054) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'get_mode' of Procedure 'GetSymbolIds' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3054) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'get_mode' of Procedure 'GetSymbolIds' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3076) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'blockid' of Procedure 'CreateView' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3076) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'databaseDeviceView' of Procedure 'CreateView' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3076) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'databaseDeviceView' of Procedure 'CreateView' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3187) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'onlygiven' of Procedure 'SetCompleteName' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3187) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'onlygiven' of Procedure 'SetCompleteName' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3197) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'position' of Procedure 'AddToAssembly' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3197) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'position' of Procedure 'AddToAssembly' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3197) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'before' of Procedure 'AddToAssembly' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3197) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'before' of Procedure 'AddToAssembly' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3222) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'use_start_z' of Procedure 'SetPanelLocation' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3222) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'use_start_z' of Procedure 'SetPanelLocation' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3222) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'place_combined' of Procedure 'SetPanelLocation' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3222) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'place_combined' of Procedure 'SetPanelLocation' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3222) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'pivot' of Procedure 'SetPanelLocation' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3222) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'pivot' of Procedure 'SetPanelLocation' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3271) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'name' of Procedure 'CreateBlock' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3271) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'assignment' of Procedure 'CreateBlock' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3271) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'location' of Procedure 'CreateBlock' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3271) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'cmpname' of Procedure 'CreateBlock' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3271) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'version' of Procedure 'CreateBlock' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3271) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'filename' of Procedure 'CreateBlock' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3338) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'blockid' of Procedure 'CreateFormboard' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3338) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'databaseDeviceView' of Procedure 'CreateFormboard' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(3338) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'databaseDeviceView' of Procedure 'CreateFormboard' ( Interface 'IDeviceInterface' ) ]
    .\e3.IDL(2896) : warning MIDL2362 : too many methods in the interface, requires Windows NT 4.0 SP3 or greater : [ Interface 'IDeviceInterface'  ]
    .\e3.IDL(3449) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'attnam' of Procedure 'GetAttributeIds' ( Interface 'IExternalDocumentInterface' ) ]
    .\e3.IDL(3489) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'before' of Procedure 'MoveTo' ( Interface 'IExternalDocumentInterface' ) ]
    .\e3.IDL(3489) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'before' of Procedure 'MoveTo' ( Interface 'IExternalDocumentInterface' ) ]
    .\e3.IDL(3493) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'lock' of Procedure 'CheckOut' ( Interface 'IExternalDocumentInterface' ) ]
    .\e3.IDL(3493) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'lock' of Procedure 'CheckOut' ( Interface 'IExternalDocumentInterface' ) ]
    .\e3.IDL(3497) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'unlock' of Procedure 'checkin' ( Interface 'IExternalDocumentInterface' ) ]
    .\e3.IDL(3497) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'unlock' of Procedure 'checkin' ( Interface 'IExternalDocumentInterface' ) ]
    .\e3.IDL(3505) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'Visible' of Procedure 'SetVisible' ( Interface 'IExternalDocumentInterface' ) ]
    .\e3.IDL(3505) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'Visible' of Procedure 'SetVisible' ( Interface 'IExternalDocumentInterface' ) ]
    .\e3.IDL(3553) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'attnam' of Procedure 'GetAttributeIds' ( Interface 'IFieldInterface' ) ]
    .\e3.IDL(3578) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'txttyp' of Procedure 'GetTextIds' ( Interface 'IFieldInterface' ) ]
    .\e3.IDL(3578) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'search_string' of Procedure 'GetTextIds' ( Interface 'IFieldInterface' ) ]
    .\e3.IDL(3578) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'search_string' of Procedure 'GetTextIds' ( Interface 'IFieldInterface' ) ]
    .\e3.IDL(3614) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'moveall' of Procedure 'Place' ( Interface 'IFieldInterface' ) ]
    .\e3.IDL(3843) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'embed' of Procedure 'CreateImage' ( Interface 'IGraphInterface' ) ]
    .\e3.IDL(3843) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'embed' of Procedure 'CreateImage' ( Interface 'IGraphInterface' ) ]
    .\e3.IDL(3861) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'filename' of Procedure 'SetImageInfo' ( Interface 'IGraphInterface' ) ]
    .\e3.IDL(3861) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'embed' of Procedure 'SetImageInfo' ( Interface 'IGraphInterface' ) ]
    .\e3.IDL(3861) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'embed' of Procedure 'SetImageInfo' ( Interface 'IGraphInterface' ) ]
    .\e3.IDL(4046) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'attnam' of Procedure 'GetAttributeIds' ( Interface 'IModuleInterface' ) ]
    .\e3.IDL(4172) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'attnam' of Procedure 'GetAttributeIds' ( Interface 'INetSegmentInterface' ) ]
    .\e3.IDL(4367) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'parent' of Procedure 'Create' ( Interface 'IOptionInterface' ) ]
    .\e3.IDL(4367) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'parent' of Procedure 'Create' ( Interface 'IOptionInterface' ) ]
    .\e3.IDL(4367) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'position' of Procedure 'Create' ( Interface 'IOptionInterface' ) ]
    .\e3.IDL(4367) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'position' of Procedure 'Create' ( Interface 'IOptionInterface' ) ]
    .\e3.IDL(4367) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'before' of Procedure 'Create' ( Interface 'IOptionInterface' ) ]
    .\e3.IDL(4367) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'before' of Procedure 'Create' ( Interface 'IOptionInterface' ) ]
    .\e3.IDL(4445) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'txttyp' of Procedure 'GetTextIds' ( Interface 'IOptionInterface' ) ]
    .\e3.IDL(4445) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'search_string' of Procedure 'GetTextIds' ( Interface 'IOptionInterface' ) ]
    .\e3.IDL(4445) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'search_string' of Procedure 'GetTextIds' ( Interface 'IOptionInterface' ) ]
    .\e3.IDL(4550) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'txttyp' of Procedure 'GetTextIds' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4550) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'search_string' of Procedure 'GetTextIds' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4550) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'search_string' of Procedure 'GetTextIds' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4623) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'flags' of Procedure 'Export' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4635) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'attnam' of Procedure 'GetAttributeIds' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4657) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'lock' of Procedure 'CheckOut' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4657) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'lock' of Procedure 'CheckOut' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4661) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'lock' of Procedure 'CheckOutAll' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4661) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'lock' of Procedure 'CheckOutAll' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4666) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'unlock' of Procedure 'checkin' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4666) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'unlock' of Procedure 'checkin' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4670) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'unlock' of Procedure 'CheckInAll' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4670) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'unlock' of Procedure 'CheckInAll' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4680) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'inbox' of Procedure 'ImportDXF' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4680) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'inbox' of Procedure 'ImportDXF' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4735) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'dpi' of Procedure 'ExportImage' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4735) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'compressionmode' of Procedure 'ExportImage' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4754) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'rot' of Procedure 'SetFormat' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4843) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'before' of Procedure 'MoveTo' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4843) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'before' of Procedure 'MoveTo' ( Interface 'ISheetInterface' ) ]
    .\e3.IDL(4963) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'attnam' of Procedure 'GetAttributeIds' ( Interface 'ISignalInterface' ) ]
    .\e3.IDL(5159) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'attnam' of Procedure 'GetAttributeIds' ( Interface 'IPinInterface' ) ]
    .\e3.IDL(5200) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'attnam' of Procedure 'GetEndAttributeIds' ( Interface 'IPinInterface' ) ]
    .\e3.IDL(5216) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'flags' of Procedure 'GetEndPinId' ( Interface 'IPinInterface' ) ]
    .\e3.IDL(5216) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'flags' of Procedure 'GetEndPinId' ( Interface 'IPinInterface' ) ]
    .\e3.IDL(5402) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'txttyp' of Procedure 'GetTextIds' ( Interface 'IPinInterface' ) ]
    .\e3.IDL(5402) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'search_string' of Procedure 'GetTextIds' ( Interface 'IPinInterface' ) ]
    .\e3.IDL(5402) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'search_string' of Procedure 'GetTextIds' ( Interface 'IPinInterface' ) ]
    .\e3.IDL(5414) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'use_exact_coords' of Procedure 'SetPanelPath' ( Interface 'IPinInterface' ) ]
    .\e3.IDL(5414) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'use_exact_coords' of Procedure 'SetPanelPath' ( Interface 'IPinInterface' ) ]
    .\e3.IDL(5131) : warning MIDL2362 : too many methods in the interface, requires Windows NT 4.0 SP3 or greater : [ Interface 'IPinInterface'  ]
    .\e3.IDL(5641) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'attnam' of Procedure 'GetAttributeIds' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5668) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'txttyp' of Procedure 'GetTextIds' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5668) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'search_string' of Procedure 'GetTextIds' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5668) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'search_string' of Procedure 'GetTextIds' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5701) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'rot' of Procedure 'Place' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5701) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'scale' of Procedure 'Place' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5701) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'maintaintextsize' of Procedure 'Place' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5756) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'onlygiven' of Procedure 'SetDeviceCompleteName' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5756) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'onlygiven' of Procedure 'SetDeviceCompleteName' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5778) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'scale' of Procedure 'PlacePins' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5788) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'texttemplate' of Procedure 'PlaceDynamic' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5788) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'fitsymbol' of Procedure 'PlaceDynamic' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5811) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'parent' of Procedure 'PlaceBlock' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5811) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'parent' of Procedure 'PlaceBlock' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5847) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'nonodeassignment' of Procedure 'AssignTo' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5847) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'nonodeassignment' of Procedure 'AssignTo' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5943) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'rot' of Procedure 'PlaceTable' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5943) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'scale' of Procedure 'PlaceTable' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5943) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'maintaintextsize' of Procedure 'PlaceTable' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5957) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'scale' of Procedure 'PlacePinView' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(5957) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'maintaintextsize' of Procedure 'PlacePinView' ( Interface 'ISymbolInterface' ) ]
    .\e3.IDL(6052) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'attnam' of Procedure 'GetAttributeIds' ( Interface 'ITestpointInterface' ) ]
    .\e3.IDL(6474) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'attnam' of Procedure 'GetAttributeIds' ( Interface 'INetInterface' ) ]
    .\e3.IDL(6558) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'flags' of Procedure 'Create' ( Interface 'IUserMenuItemInterface' ) ]
    .\e3.IDL(6558) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'flags' of Procedure 'Create' ( Interface 'IUserMenuItemInterface' ) ]
    .\e3.IDL(6747) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'attnam' of Procedure 'GetAttributeIds' ( Interface 'IStructureNodeInterface' ) ]
    .\e3.IDL(6769) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'before' of Procedure 'MoveTo' ( Interface 'IStructureNodeInterface' ) ]
    .\e3.IDL(6769) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'before' of Procedure 'MoveTo' ( Interface 'IStructureNodeInterface' ) ]
    .\e3.IDL(6853) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'index' of Procedure 'SetIcon' ( Interface 'ITreeInterface' ) ]
    .\e3.IDL(6907) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'position' of Procedure 'Create' ( Interface 'ITreeInterface' ) ]
    .\e3.IDL(6907) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'position' of Procedure 'Create' ( Interface 'ITreeInterface' ) ]
    .\e3.IDL(6907) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'before' of Procedure 'Create' ( Interface 'ITreeInterface' ) ]
    .\e3.IDL(6907) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'before' of Procedure 'Create' ( Interface 'ITreeInterface' ) ]
    .\e3.IDL(7087) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'item1' of Procedure 'Call' ( Interface 'IDllInterface' ) ]
    .\e3.IDL(7087) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'item1' of Procedure 'Call' ( Interface 'IDllInterface' ) ]
    .\e3.IDL(7087) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'item2' of Procedure 'Call' ( Interface 'IDllInterface' ) ]
    .\e3.IDL(7087) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'item2' of Procedure 'Call' ( Interface 'IDllInterface' ) ]
    .\e3.IDL(7087) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'item3' of Procedure 'Call' ( Interface 'IDllInterface' ) ]
    .\e3.IDL(7087) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'item3' of Procedure 'Call' ( Interface 'IDllInterface' ) ]
    .\e3.IDL(7087) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'item4' of Procedure 'Call' ( Interface 'IDllInterface' ) ]
    .\e3.IDL(7087) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'item4' of Procedure 'Call' ( Interface 'IDllInterface' ) ]
    .\e3.IDL(7087) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'item5' of Procedure 'Call' ( Interface 'IDllInterface' ) ]
    .\e3.IDL(7087) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'item5' of Procedure 'Call' ( Interface 'IDllInterface' ) ]
    .\e3.IDL(7118) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'name' of Procedure 'Create' ( Interface 'IGroupInterface' ) ]
    .\e3.IDL(7173) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'name' of Procedure 'GetAttributeIds' ( Interface 'IGroupInterface' ) ]
    .\e3.IDL(7263) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'snap' of Procedure 'IdentifyNetSegmentIds' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7263) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'snap' of Procedure 'IdentifyNetSegmentIds' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7263) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'Visible' of Procedure 'IdentifyNetSegmentIds' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7263) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'Visible' of Procedure 'IdentifyNetSegmentIds' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7272) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'snap' of Procedure 'IdentifyTextIds' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7272) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'snap' of Procedure 'IdentifyTextIds' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7272) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'Visible' of Procedure 'IdentifyTextIds' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7272) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'Visible' of Procedure 'IdentifyTextIds' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7281) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'snap' of Procedure 'IdentifySymbolIds' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7281) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'snap' of Procedure 'IdentifySymbolIds' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7281) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'Visible' of Procedure 'IdentifySymbolIds' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7281) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'Visible' of Procedure 'IdentifySymbolIds' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7290) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'snap' of Procedure 'IdentifyGraphIds' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7290) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'snap' of Procedure 'IdentifyGraphIds' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7290) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'Visible' of Procedure 'IdentifyGraphIds' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7290) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'Visible' of Procedure 'IdentifyGraphIds' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7298) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'moveall' of Procedure 'PlacePolygonField' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7308) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'snap' of Procedure 'IdentifyNodePoint' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7308) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'snap' of Procedure 'IdentifyNodePoint' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7308) : warning MIDL2400 : for oleautomation, optional parameters should be VARIANT or VARIANT * : [optional] [ Parameter 'Visible' of Procedure 'IdentifyNodePoint' ( Interface 'IWespeInterface' ) ]
    .\e3.IDL(7308) : warning MIDL2401 : [defaultvalue] is applied to a non-VARIANT and [optional]. Please remove [optional] : [ Parameter 'Visible' of Procedure 'IdentifyNodePoint' ( Interface 'IWespeInterface' ) ]
    Fichiers attachés Fichiers attachés

  18. #18
    Futur Membre du Club
    Profil pro
    Inscrit en
    Octobre 2011
    Messages
    29
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2011
    Messages : 29
    Points : 6
    Points
    6
    Par défaut
    Merci beaucoup, moi j'ai toujours les mêmes erreurs.

    Voila j'ai regardé un peu le fichier .h, la dernière fois tu m'as dit :
    riid et ppv vont ensemble: Tu y mets le GUID de l'interface et un pointeur vers ton pointeur
    Mais la il y a plusieurs interfaces, comment je peux faire pour définir riid et ppv?
    Sachant que je veux accéder à tous ces interfaces avec mon objet.

    Merci d'avance.

  19. #19
    Expert éminent sénior
    Avatar de Médinoc
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Septembre 2005
    Messages
    27 381
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Septembre 2005
    Messages : 27 381
    Points : 41 582
    Points
    41 582
    Par défaut
    Tu mets l'interface dont tu as besoin à l'instant. Quand tu as besoin d'une autre, tu fais un QueryInterface(). Et n'oublie pas que chaque interface doit être releasée avant d'être "oubliée"...

  20. #20
    Futur Membre du Club
    Profil pro
    Inscrit en
    Octobre 2011
    Messages
    29
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2011
    Messages : 29
    Points : 6
    Points
    6
    Par défaut
    Merci beaucoup pour ton aide, je vais essayer ce que tu m'as dit et je te tiens informé.

Discussions similaires

  1. Instanciation de l'objet COM
    Par Greenzy dans le forum Langage
    Réponses: 0
    Dernier message: 03/12/2012, 10h35
  2. [COM] Problème d'instanciation d'objet COM
    Par lpapouk dans le forum Bibliothèques et frameworks
    Réponses: 1
    Dernier message: 02/07/2008, 15h14
  3. objet Com probleme d'instanciation
    Par orelien60110 dans le forum Apache
    Réponses: 3
    Dernier message: 15/03/2007, 13h13
  4. [COM] Problème Instanciation de l'objet COM
    Par ludobado dans le forum Bibliothèques et frameworks
    Réponses: 1
    Dernier message: 14/11/2006, 11h06
  5. instancier objet COM
    Par Someonelse dans le forum MFC
    Réponses: 2
    Dernier message: 14/11/2005, 10h31

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo