<html><div style='background-color:'><TABLE id=HB_Mail_Container height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0 UNSELECTABLE="on">
<TBODY>
<TR height="100%" UNSELECTABLE="on" width="100%">
<TD id=HB_Focus_Element vAlign=top width="100%" background="" height=250 UNSELECTABLE="off">
<P>Hi, </P>
<P>I am new to VTK. I want to use VTK under .net environment.</P>
<P>I can use CMAKE to generate a .net project and display the cone well ,but I want to use the windows form of VC++.net to display the cone. My idea is to create a cone.dll first and then invoke it from windows form. but I got the following error:</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT face="Times New Roman">An unhandled exception of type 'System.TypeLoadException' occurred in t3.exe<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><o:p><FONT face="Times New Roman"> </FONT></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT face="Times New Roman">Additional information: Could not load type vtkPolyData from assembly cone, Version=1.0.1741.21213, Culture=neutral, PublicKeyToken=null.<o:p></o:p></FONT></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><o:p><FONT face="Times New Roman"></FONT></o:p></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><o:p><FONT face="Times New Roman">Can you help me with this</FONT> ?</o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><o:p></o:p></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><o:p>Thanks in advance</o:p></SPAN></P>
<P>
<P> </P></P></TD></TR>
<TR UNSELECTABLE="on" hb_tag="1">
<TD style="FONT-SIZE: 1pt" height=1 UNSELECTABLE="on">
<DIV id=hotbar_promo></DIV></TD></TR></TBODY></TABLE>
<BLOCKQUOTE id=7fbaade5>
<DIV class=RTE>
<P><BR><BR></P></DIV></BLOCKQUOTE></div><br clear=all><hr>使用 <a href="http://g.msn.com/8HMBCN/2737??PS=47575" target="_top">MSN Messenger</a> 与联机的朋友进行交流</html>