2015年12月10日

C#访问非托管内存

摘要: 示例1:分配一个新的内存地址给新变量 Point p; // Initialize unmanged memory to hold the struct. IntPtr pnt = Marshal.AllocHGlobal(Marshal.SizeOf(p)); // Copy the struct 阅读全文

posted @ 2015-12-10 16:56 空明流光 阅读(1800) 评论(0) 推荐(0)

导航