System: : Drawing: : the Font ^ dFont=gcnew System: : Drawing: : the Font (L "tahoma", 10);
System: : Object ^ dObject=gcnew System: : Object ();
DFont - & gt; ToLogFont (dObject);
The above statement is a operation error, now I just want to make the font object between managed and unmanaged conversion