<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi,<br>
<br>
I wonder if anyone has experience with vtkCallbackCommand on 64-bit windows.<br>
<br>
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.<br>
<br>
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.<br>
<br>
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.<br>
<br>
Thanks,<br>
<br>
Nick<br /><hr />R U Ready for Windows Live Messenger Beta 8.5? <a href='http://entertainment.sympatico.msn.ca/WindowsLiveMessenger' target='_new'>Try it today!</a></body>
</html>