You don&#39;t really provide enough information to help you debug your code, but you should know that VC++ 8.0 instrumented a large number of memory checks that detect and throw exceptions when you write past the end of a buffer or carry out a number of other invalid memory operations.&nbsp; These options are disabled in Release mode so the code -- while still incorrect -- may run.&nbsp; VTK&nbsp; has been running with 8.0 for a while now so I do not expect these issues are likely in any recent release.&nbsp; So, you should probably<br>
<br>1) Go to the VTK website and ensure you have the latest release.<br>2) If the error still occurs, they are probably in code you wrote to call VTK, so step through the debugger and find/fix the errors.<br><br>If this doesn&#39;t help, you can try reposting your question to the list with more information such as system, VTK version, exact error message, call stack, simple code example that generates the error ... etc.<br>
<br>- Wes<br><br><div class="gmail_quote">On Wed, Jun 4, 2008 at 6:59 AM,  &lt;<a href="mailto:psumit@ee.ethz.ch">psumit@ee.ethz.ch</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
 &nbsp;I am able to build and execute vtk code samples in VC++ 8.0(WinXP) in the &quot;Release&quot; mode. However when I execute the same code in &quot;Debug&quot; mode I get runtime error message &quot;A buffer overrun has occurred in vtk_trial.exe which has corrupted the program&#39;s internal state&quot;. I have tried using &quot;Multi-threaded Debug Dll&quot; and &quot;Multi-threaded Dll&quot; as the runtime library but I get the same runtime error.<br>

 &nbsp;Can someone please suggest a remedy for the problem or point out what the problem could be? &nbsp; Thanks in advance.<br>
<br>
Regards,<br>
Sumit<br>
<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Wesley D. Turner, Ph.D.<br>Kitware, Inc.<br>R&amp;D Engineer<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-371-3971 x120