[vtkusers] vtkCallbackCommand doesn't work on 64bits Windows

hu ning nickhuning at hotmail.com
Thu Oct 25 10:10:29 EDT 2007


I tried nightly build and it's been fixed, Thank you.
 
Just for the record in case someone ask the same question in future. The vtkWin32RenderWindowInteractor in release 5.0.0 has 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.
 
 
Nick > Date: Wed, 24 Oct 2007 14:16:15 -0400> From: david.cole at kitware.com> To: nickhuning at hotmail.com> Subject: Re: [vtkusers] vtkCallbackCommand doesn't work on 64bits Windows> CC: vtkusers at vtk.org> > Are you using VTK 5.0 or VTK from CVS HEAD...?> > If you are using 5.0, try updating to CVS HEAD -- this nightly build> from today demonstrates that CVS HEAD of VTK passes the normal C++> test suite:> http://www.vtk.org/Testing/Sites/redwall.kitware/Win64-Vista-vs8-Release/20071024-0300-Nightly/Test.html> > > HTH,> David Cole> Kitware, Inc.> > > On 10/24/07, hu ning <nickhuning at hotmail.com> wrote:> >> > Hi,> >> > I wonder if anyone has experience with vtkCallbackCommand on 64-bit> > windows.> >> > I had an application which involves vtkCallbackCommand with vtkImageViewer,> > and it works just fine on 32-bit windows. After I moved to 64bits windows> > (Visual Studio 8 x64), the callback is broken and no matter what I do on the> > vtk rendering window, the callback don't catch anything.> >> > I suspect there is something wrong with the GetWindowLongPtr() in the> > vtkWin32RenderWindowInteractor class because of long/ptr type changes on 64> > bit, but I am not a windows guy and couldnot dig into the problem.> >> > Can anyone here kindly give me some advice? The way I use> > vtkCallbackCommand is very standard, just like what is shown in those> > examples. The vtk version is 5.0.3 release.> >> > Thanks,> >> > Nick> > ________________________________> > R U Ready for Windows Live Messenger Beta 8.5? Try it today!> > _______________________________________________> > This is the private VTK discussion list.> > Please keep messages on-topic. Check the FAQ at:> > http://www.vtk.org/Wiki/VTK_FAQ> > Follow this link to subscribe/unsubscribe:> > http://www.vtk.org/mailman/listinfo/vtkusers> >> >
_________________________________________________________________
Have fun while connecting on Messenger! Click here to learn more.
http://entertainment.sympatico.msn.ca/WindowsLiveMessenger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071025/26e1c773/attachment.htm>


More information about the vtkusers mailing list