How to pass dynamic Size in [MarshalAs(UnmanagedType.ByValArray)]

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Charming12
    New Member
    • Sep 2008
    • 18

    How to pass dynamic Size in [MarshalAs(UnmanagedType.ByValArray)]

    Hi ,

    I need to pass Dynamic Size in the statement
    [MarshalAs(Unman agedType.ByValA rray , Sizeconst = 8)]

    Is there anyway to pass a dynamic value in sizeconst or is there any other statement likethis which can take dynamic Size.

    Help will be appreciated.

    Thanks,
    Eric
Working...