zz962

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

问题:
在C#给C++传数组类型数据时报此错,相应英文信息为“Type could not be marshaled, because the length of an embed array doesn't not match the declared length in the layout”


原因
1、声明的数组长度和实际的数组长度不一致,比如声明的数组长度为1000,实际数组里放了1000多。




posted on 2014-09-23 09:54  zz962  阅读(4539)  评论(0编辑  收藏  举报