111,125
社区成员
发帖
与我相关
我的任务
分享
namespace WindowsApplication6
{
class Node
{
public Point Data;
public Node next;
}
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
Node n = new Node();
IntPtr P = System.Runtime.InteropServices.Marshal.GetIUnknownForObject(n);
MessageBox.Show(P.ToString());
n = new Node();
P = System.Runtime.InteropServices.Marshal.GetIUnknownForObject(n);
MessageBox.Show(P.ToString());
n = new Node();
P = System.Runtime.InteropServices.Marshal.GetIUnknownForObject(n);
MessageBox.Show(P.ToString());
n = new Node();
P = System.Runtime.InteropServices.Marshal.GetIUnknownForObject(n);
MessageBox.Show(P.ToString());
n = new Node();
P = System.Runtime.InteropServices.Marshal.GetIUnknownForObject(n);
MessageBox.Show(P.ToString());
}
}
}