<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>
<P><FONT face=Arial>Hi, </FONT></P>
<P><FONT face=Arial>I am new to VTK. I want to use VTK under .net
environment. I am using visual studio.net 2003 and VTK 4.2 now.</FONT></P>
<P><FONT face=Arial>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:</FONT></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=Arial>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=Arial> </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=Arial>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></o:p></SPAN><FONT
face=Arial> </FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><o:p><FONT face=Arial>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><FONT
face=Arial> </FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><o:p><FONT face=Arial>Thanks in
advance</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=Arial></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=Arial>Tracy</FONT></o:p></SPAN></P></FONT></DIV></BODY></HTML>