Windows Server 2008: COM error: 0x800706F7 - stub received bad data

I am evaluating Server 2008. My C ++ executable is getting this error. I saw this error on MSDN, which seems to require fixing for several previous OSs. Has anyone else seen this? I get the same results for 32-bit and 64-bit OS.

Code snippet:

HRESULT GroupStart([in] short iClientId, [in] VARIANT GroupDataArray,
    [out] short* pGroupInstance, [out] long* pCommandId);

If the GroupDataArray VARIANT argument wraps the one-dimensional SAFEARRAY of VARIANT, which wraps the entries in the DCAPICOM_GroupData structure:

// DCAPICOM_GroupData
[
      uuid(F1FE2605-2744-4A2A-AB85-1E1845C280EB),
      helpstring("removed")
]

typedef struct DCAPICOM_GroupData {
      [helpstring("removed")]
      long              m_lImageID;

      [helpstring("removed")]
      unsigned char     m_ucHeadID;

      [helpstring("removed")]
      unsigned char     m_ucPlateID;
} DCAPICOM_GroupData;
+4
source share
2 answers

After opening support with Microsoft, I can answer my question. This is (now) a recognized mistake. , . 6 , COM 8, , , . , , 8 . , , , .

+3

, / DCOM. , , (.. ), ( ). , - CoMarshalInterface .

+2

All Articles