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

hu ning nickhuning at hotmail.com
Wed Oct 24 13:39:53 EDT 2007









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
_________________________________________________________________
Are you ready for Windows Live Messenger Beta 8.5 ? Get the latest for free today!
http://entertainment.sympatico.msn.ca/WindowsLiveMessenger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071024/76560c0c/attachment.htm>


More information about the vtkusers mailing list