liu_sir: 多谢,可返回错误如下 [阅读: 225] 2005-03-21 04:01:00 sizeof 只能用于不安全的上下文中(考虑使用 System.Runtime.InteropServices.Marshal.SizeOf) 另外用:Marshal.Sizeof也不可以。:(