<!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.1264" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>There are 6 examples (cone1 to cone6) coming with
VTK source. I had the same problem with cone2 and cone6 when I updated my IDE
from VS .Net 1.0 to VS .Net 1.1(2003). My initial guess was that vtkCommand
class ( it is used for callback ) caused the problem. Because the four
<FONT face="Times New Roman" size=3>unresolved external symbol functions are
virtual functions in vtkObjectBase class, but vtkCommand as its subclass does
not implement those functions. And .Net 1.0 and .Net 1.1 use different
compilation policies. As a result, these codes do not cause problem in .Net 1.0,
but do have problem in .Net 1.1. Another guess was because that .Net
1.1 does not support old I/O functions.</FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>After trying, I solved the problem with cone2, but
met an new problem with cone6. The cone6 problem happens in runtime, the error
message is "The procedure entry point <A
href="mailto:collectRevision@vtkImport">collectRevision@vtkImport</A>.... could
not be located in the dynamic link library vtkRendering.dll". </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What I did is downloading VTK 4.2.2 source code,
using cmake to build its .Net 2003 solution, compiling the soluction, and
generating 4.2.2 vtk*.dll, vtk*.lib files. Then copy the files to the
corresponding folder (vtk*.dll goes to c:\windows\system32, vtk*.lib goes to
c:\program files\vtk42\lib ). After doing this, cone2 works very
well.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Can anyone tell me how to run cone6 in .Net 1.1?
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any suggestion appreciated. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks, </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jing Li</FONT><FONT face=Arial size=2></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>