469,946 Members | 1,908 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,946 developers. It's quick & easy.

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

Hi ,

I need to pass Dynamic Size in the statement
[MarshalAs(UnmanagedType.ByValArray , 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
Sep 19 '08 #1
0 1392

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Stephen Gennard | last post: by
1 post views Thread by Jón Sveinsson | last post: by
1 post views Thread by Morten Wennevik | last post: by
6 posts views Thread by erdem | last post: by
reply views Thread by [Yosi] | last post: by
reply views Thread by Stanislav Simicek | last post: by
2 posts views Thread by Paul Harvey | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.