Announcement

Collapse
No announcement yet.

COM Browser Circular Reference

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Michael Mattias
    replied
    For a fix you can create copies of the types with different names and paste 'em in a place where the compiler likes 'em.

    Leave a comment:


  • Larry Heber
    started a topic COM Browser Circular Reference

    COM Browser Circular Reference

    Hopefully someone can help as this is driving me crazy. When I use the COM Browser (PB9) to create an include for my application it is creating a circular reference that I can't seem to resolve. I understand that the TYPES and UNIONS are not always in the correct order. As I am trying to resolve all the conflicts there is one that I can't seem to overcome.

    I am exporting the "Active DS Type Library 1.0" (activeds.tlb).

    Here is the union reference which is declared first:

    Code:
    UNION uTag___MIDL_IOleAutomationTypes_0005
        lptdesc AS tagTYPEDESC
        lpadesc AS tagARRAYDESC
        hreftype AS DWORD
    END UNION
    Further down the types are declare after the union. Though the tagTYPEDESC references the union. So moving them ahead in the order just causes the tagTYPEDESC to fail.

    Code:
    TYPE tagTYPEDESC
        PB___MIDL_0008 AS uTag___MIDL_IOleAutomationTypes_0005
        vt AS WORD
    END TYPE
    
    TYPE tagARRAYDESC
        tdescElem AS tagTYPEDESC
        cDims AS WORD
        rgbounds AS tagSAFEARRAYBOUND PTR
    END TYPE
    Thank you for any help that can be offered!


    ADS.INC
Working...
X