<HTML dir=ltr><HEAD></HEAD>
<BODY>
<DIV id=idOWAReplyText75012 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hello, all!</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>I have a C++ program that was created with VTK4.2.2 (I think!) and I'm updating it to VTK4.2.6. There are no compilling or debugging errors, but when it starts executing it shows me a message box saying</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>"The procedure entry point <A href="mailto:?InsertPoint@vtkPoints@@QAEX_JNNN@Z" target=_blank>?InsertPoint@vtkPoints@@QAEX_JNNN@Z</A> could not be located in the dynamic link library vtkCommon.dll." (in debug mode)</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2><FONT face=Arial size=2>"The procedure entry point </FONT><A href="mailto:?InsertNextCell@vtkPolyData@@QAEHHHPA_J@Z" target=_blank><FONT face=Arial size=2>?InsertNextCell@vtkPolyData@@QAEHHHPA_J@Z</FONT></A><FONT face=Arial size=2> could not be located in the dynamic link library vtkCommon.dll." (in release mode)</FONT></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>An example of InsertPoint and InsertNextCell used in the program is:</FONT></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr><FONT color=#0000ff size=2>for</FONT><FONT size=2> (i = 1; i <= m_pixels1; i++) </FONT><FONT size=2>{</DIV>
<DIV dir=ltr>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<P></FONT><FONT color=#0000ff size=2>float</FONT><FONT size=2> *x1, *x2;</FONT><FONT color=#008000 size=2></P></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (m_matching[i][1] != 0) </FONT><FONT size=2>{</P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<P>x1 = pPoly1->GetPoint(i-1);</FONT><FONT color=#008000 size=2></P></FONT><FONT size=2>
<P>x2 = pPoly2->GetPoint(m_matching[i][1]-1);</FONT><FONT color=#008000 size=2></P></BLOCKQUOTE></BLOCKQUOTE></FONT><FONT size=2>
<P></P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (sample == m_pathsample) {</P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<P>vtkPoints *points = vtkPoints::New();</P>
<P></FONT><FONT size=2><FONT color=#000000>points->InsertPoint(0, x1); </FONT></P></FONT><FONT size=2>
<P></FONT><FONT size=2><FONT color=#000000>points->InsertPoint(1, x2); </FONT></FONT><FONT color=#008000 size=2></P></FONT><FONT size=2>
<P>vtkPolyData *pLine = vtkPolyData::New();</P>
<P>pLine->Allocate(1, VTK_CELL_SIZE);</P>
<P>pLine->SetPoints(points);</P>
<P></FONT><FONT size=2><FONT color=#000000>int p[2];</FONT></P></FONT><FONT size=2>
<P></FONT><FONT size=2><FONT color=#000000>p[0] = 0;</FONT></P></FONT><FONT size=2>
<P></FONT><FONT color=#000000 size=2>p[1] = 1;</FONT><FONT size=2></P></FONT><FONT size=2>
<P>pLine->InsertNextCell(VTK_LINE, 2, p);</P></BLOCKQUOTE>
<P dir=ltr>}</P></BLOCKQUOTE>
<P dir=ltr>}</P></BLOCKQUOTE></FONT><FONT size=2>
<P>} </P></FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>All the include and library directories are correct, so I don't know where these errors are comming from!</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Does anyone know how to solve this?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Thank you so much!</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV></DIV>
<DIV id=idSignature96558 dir=ltr>
<DIV><FONT face=Arial color=#000000 size=2>Patrícia C. T. Gonçalves</FONT></DIV>
<DIV><FONT face=Arial size=2>e-mail: patgo@oniduo.pt</FONT></DIV></DIV></BODY></HTML>