Formula una domandaFormula una domanda
 

Con rispostaDuplicate GUIDs in MS HPC TLBs

  • mercoledì 17 dicembre 2008 16.19cdinnc Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     

    I was trying to create 'C' header files for the Microsoft.Hpc.Scheduler.tlb and Microsoft.Hpc.Scheduler.Properties.tlb.


    The problem is that the Microsoft.Hpc.Scheduler.Properties.NodeState and the Microsoft.Hpc.Scheduler.SchedulerCoreState have the exact same GUID so the MIDL compiler spits the following message:

     

    .\Microsoft.Hpc.Scheduler.IDL(973) : error MIDL2270 : duplicate UUID. Same as : SchedulerCoreState [ Type 'NodeState' ( Parameter 'pRetVal' ) ]

     

    Here is what OLEVIEW displays for both:

     

    typedef [uuid(534F6FEC-A629-40C8-8AC0-4BEB0667B305), version(1.0),

      custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9, Microsoft.Hpc.Scheduler.SchedulerCoreState)

    ]

    enum {

        SchedulerCoreState_Offline = 0,

        SchedulerCoreState_Idle = 1,

        SchedulerCoreState_Busy = 2,

        SchedulerCoreState_Draining = 3,

        SchedulerCoreState_Reserved = 4

    } SchedulerCoreState;

     

     

    typedef [uuid(534F6FEC-A629-40C8-8AC0-4BEB0667B305), version(1.0),

      custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9, Microsoft.Hpc.Scheduler.Properties.NodeState)

    ]

    enum {

        NodeState_Offline = 1,

        NodeState_Draining = 2,

        NodeState_Online = 4,

        NodeState_All = 7

    } NodeState;


    Is this a known issue?

Risposte

Tutte le risposte