[vtkusers] Fwd: An unhandled exception of type 'System.AccessViolationException' occurred in vtkFormsWindow.dll.. while using VTK .NET Wrapper

Ritesh Haria ritesh.haria at gmail.com
Thu Dec 23 04:15:59 EST 2010


Need Help

---------- Forwarded message ----------
From: Ritesh Haria <ritesh.haria at gmail.com>
Date: Sun, Dec 19, 2010 at 1:35 PM
Subject: An unhandled exception of type 'System.AccessViolationException'
occurred in vtkFormsWindow.dll.. while using VTK .NET Wrapper
To: vtkusers at vtk.org


Dear Mr. Mark,

I am using Programming with VTK .NET Wrappers control
vtkFormsWindowControl (http://vtkdotnet.sourceforge.net/Programming.html)
user control to display a dicom image and add window level feature to it.
I am able to display the image. On right mouse click and drag it zooms in
and out as expected.
On left click and drag it should perform window and level operations. But
when I left click mouse, I get the following error:

An unhandled exception of type 'System.AccessViolationException' occurred in
vtkFormsWindow.dll

Additional information: Attempted to read or write protected memory. This is
often an indication that other memory is corrupt.

> vtkFormsWindow.dll!vtk::vtkFormsWindowControl::OnMouseDown(System::Windows::Forms::MouseEventArgs^
ea = 0x03cfe4d4) Line 401 C++


Kindly provide a feasible solution

Thanking you,
Ritesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101223/35521ebd/attachment.htm>


More information about the vtkusers mailing list