<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi All,</div><div><br></div><div>Please i have this information while trying to run my vtk application "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."</div><div><br></div><div>I tried to copy the exception details to clipboard and display as below:</div><div><br></div><div><br></div><div><br></div><div>System.AccessViolationException was unhandled<br> Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."<br> Source="Kitware.VTK"<br> StackTrace:<br> at Kitware.VTK.vtkRenderWindow.vtkRenderWindow_Render_88(HandleRef pThis)<br> at Kitware.VTK.vtkRenderWindow.Render()<br> at
Kitware.VTK.RenderWindowControl.OnPaint(PaintEventArgs e)<br> at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)<br> at System.Windows.Forms.Control.WmPaint(Message& m)<br> at System.Windows.Forms.Control.WndProc(Message& m)<br> at System.Windows.Forms.ScrollableControl.WndProc(Message& m)<br> at System.Windows.Forms.ContainerControl.WndProc(Message& m)<br> at System.Windows.Forms.UserControl.WndProc(Message& m)<br> at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)<br> at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&
m)<br> at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)<br> at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)<br> at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)<br> at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)<br> at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)<br> at System.Windows.Forms.Application.Run(Form mainForm)<br> at VolumeRendering.Program.Main() in
C:\Program Files\ActiViz.NET 5.6.1 OpenSource Edition\Examples\VolumeRendering\CS\Program.cs:line 17<br> at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)<br> at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)<br> at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()<br> at System.Threading.ThreadHelper.ThreadStart_Context(Object state)<br> at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)<br> at System.Threading.ThreadHelper.ThreadStart()<br> InnerException: </div><div><br></div><div><br></div><div>Please who can explain the meaning of the exceptions better to me? How do i solve
it?</div><div><br></div><div>Thank you.</div><div><br></div><div>Best Regards,</div><div>A.M. Adeshina</div></div></body></html>