[vtkusers] render control hosting in wpf

Max smapersmaper at gmail.com
Thu Jun 13 02:52:57 EDT 2013


Hi VTKers,
I am getting an exception:
************* Exception Text **************
System.Exception: error: could not get registered type - mteIndex='1'
classNameKey=''
   at Kitware.mummy.Runtime.Methods.GetConstructorInfo(UInt32 mteIndex)
   at Kitware.mummy.Runtime.Methods.CreateWrappedObjectImpl(UInt32
mteStatus, UInt32 mteIndex, UInt32 rawRefCount, IntPtr rawCppThis, Boolean
callDisposalMethod, Boolean& created)
   at Kitware.mummy.Runtime.Methods.CreateWrappedObject(UInt32 mteStatus,
UInt32 mteIndex, UInt32 rawRefCount, IntPtr rawCppThis, Boolean
callDisposalMethod, Boolean& found)
   at Kitware.VTK.vtkRenderer.New()
   at Kitware.VTK.RenderWindowControl.OnHandleCreated(EventArgs e)
   at System.Windows.Forms.Control.WmCreate(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.UserControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)

When trying to open the xaml.
I'm hosting the render control of activiz (which is winforms) in wpf.
It runs ok but when i'm tryign to open the xaml it gives this exception.
Someone maybe can help?

Thank you,
Max



--
View this message in context: http://vtk.1045678.n5.nabble.com/render-control-hosting-in-wpf-tp5721366.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list