UNION with nested Structs

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sean S.

    #1

    UNION with nested Structs

    I have been following the strings of Unions here however I have not yet
    seen any that can help me with this one... I am needing to convert some
    16bit C code into C#... can some one assist? Here is a bit of the code:

    typedef union
    {
    struct
    {
    int nZWord;
    int nFId;
    };

    struct
    {
    int nFieldId;
    int nIndex;
    };

    } MARKER;


    Any assistance is appreciated... Thanks!

    SFS

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
Working...