Passing a Window handle from a GUI process to a VTK process

I solved the last issue too. It was just a threading problem not really a mouse capturing issue. I was calling a vtk blocking function from the main thread of the .Net process. Now everything works, I need just to figure out how to send callback events with gRPC from the VTK process.