<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<BR>I tried nightly build and it's been fixed, Thank you.<BR>
&nbsp;<BR>
Just for the record in case someone ask the same question in future. The vtkWin32RenderWindowInteractor in release 5.0.0 has&nbsp;a problem to catch any mouse event on 64 bits windows. THis problem has been reported as issue 0003227: "vtkRenderWindowsInteractor doesnt work on Windows x64". It's been fixed and the changes can be tracked with 1.100 revision of vtkWin32RenderWindowInteractor in cvs.<BR>
&nbsp;<BR>
&nbsp;<BR>
Nick&nbsp;<BR>&gt; Date: Wed, 24 Oct 2007 14:16:15 -0400<BR>&gt; From: david.cole@kitware.com<BR>&gt; To: nickhuning@hotmail.com<BR>&gt; Subject: Re: [vtkusers] vtkCallbackCommand doesn't work on 64bits Windows<BR>&gt; CC: vtkusers@vtk.org<BR>&gt; <BR>&gt; Are you using VTK 5.0 or VTK from CVS HEAD...?<BR>&gt; <BR>&gt; If you are using 5.0, try updating to CVS HEAD -- this nightly build<BR>&gt; from today demonstrates that CVS HEAD of VTK passes the normal C++<BR>&gt; test suite:<BR>&gt; http://www.vtk.org/Testing/Sites/redwall.kitware/Win64-Vista-vs8-Release/20071024-0300-Nightly/Test.html<BR>&gt; <BR>&gt; <BR>&gt; HTH,<BR>&gt; David Cole<BR>&gt; Kitware, Inc.<BR>&gt; <BR>&gt; <BR>&gt; On 10/24/07, hu ning &lt;nickhuning@hotmail.com&gt; wrote:<BR>&gt; &gt;<BR>&gt; &gt; Hi,<BR>&gt; &gt;<BR>&gt; &gt; I wonder if anyone has experience with vtkCallbackCommand on 64-bit<BR>&gt; &gt; windows.<BR>&gt; &gt;<BR>&gt; &gt; I had an application which involves vtkCallbackCommand with vtkImageViewer,<BR>&gt; &gt; and it works just fine on 32-bit windows. After I moved to 64bits windows<BR>&gt; &gt; (Visual Studio 8 x64), the callback is broken and no matter what I do on the<BR>&gt; &gt; vtk rendering window, the callback don't catch anything.<BR>&gt; &gt;<BR>&gt; &gt; I suspect there is something wrong with the GetWindowLongPtr() in the<BR>&gt; &gt; vtkWin32RenderWindowInteractor class because of long/ptr type changes on 64<BR>&gt; &gt; bit, but I am not a windows guy and couldnot dig into the problem.<BR>&gt; &gt;<BR>&gt; &gt; Can anyone here kindly give me some advice? The way I use<BR>&gt; &gt; vtkCallbackCommand is very standard, just like what is shown in those<BR>&gt; &gt; examples. The vtk version is 5.0.3 release.<BR>&gt; &gt;<BR>&gt; &gt; Thanks,<BR>&gt; &gt;<BR>&gt; &gt; Nick<BR>&gt; &gt; ________________________________<BR>&gt; &gt; R U Ready for Windows Live Messenger Beta 8.5? Try it today!<BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; This is the private VTK discussion list.<BR>&gt; &gt; Please keep messages on-topic. Check the FAQ at:<BR>&gt; &gt; http://www.vtk.org/Wiki/VTK_FAQ<BR>&gt; &gt; Follow this link to subscribe/unsubscribe:<BR>&gt; &gt; http://www.vtk.org/mailman/listinfo/vtkusers<BR>&gt; &gt;<BR>&gt; &gt;<BR><BR><br /><hr />Have fun while connecting on Messenger! <a href='http://entertainment.sympatico.msn.ca/WindowsLiveMessenger' target='_new'>Click here to learn more.</a></body>
</html>