Has anyone followed up on this? Even after the patch, I'm still having the the same crash as Elvis mentioned.<br><br><div class="gmail_quote">On Fri, Jan 2, 2009 at 11:46 AM, Sean McBride <span dir="ltr"><<a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="Ih2E3d">On 11/25/08 9:37 AM, Clinton Stimpson said:<br>
<br>
>>>> Do I understand correctly that this API takes an ASCII string (of a<br>
>>>> base-10 number) that represents a pointer address?!? That's strange,<br>
>>>> no? This is likely to wreak havoc with Obj-C garbage collection...<br>
>>>><br>
>>> Yes, its a string of a base 10 number which one can extract then<br>
>>> reinterpret cast back to a native window system handle.<br>
>>> The vtkRenderWindow::SetWindowInfo() is called by the GTK, Qt, wx Python<br>
>>> codes that interface with VTK. Of the 3, it looks like Qt is the only<br>
>>> one that optionally uses Cocoa now.<br>
>><br>
>> Do you happen to know why a string is used? Seems awfully weird, but I<br>
>> assume there is a reason.<br>
>I can only guess it is there to support the scripting languages.<br>
>Has VTK/Cocoa been used with scripting languages yet?<br>
<br>
</div>I have implemented vtkCocoaRenderWindow::SetWindowInfo() as described in<br>
this thread and committed to CVS. I have not tested this (other than<br>
running the unit tests of course) since I don't use Qt.<br>
<br>
See:<br>
<<a href="http://public.kitware.com/cgi-bin/viewcvs.cgi/Rendering/vtkCocoaRenderWindow.mm?r1=1.62&r2=1.63" target="_blank">http://public.kitware.com/cgi-bin/viewcvs.cgi/Rendering/<br>
vtkCocoaRenderWindow.mm?r1=1.62&r2=1.63</a>><br>
<br>
Elvis, care to try?<br>
<div class="Ih2E3d"><br>
--<br>
____________________________________________________________<br>
Sean McBride, B. Eng <a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a><br>
Rogue Research <a href="http://www.rogue-research.com" target="_blank">www.rogue-research.com</a><br>
Mac Software Developer Montréal, Québec, Canada<br>
<br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sometimes it's hard to tell the dancer from the dance - Corwin in CoC<br>