[vtkusers] vtkCallbackCommand doesn't work on 64bits Windows
David Cole
david.cole at kitware.com
Wed Oct 24 14:16:15 EDT 2007
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
>
>
More information about the vtkusers
mailing list