<!-- Template generated by Exclaimer Mail Disclaimers on 08:30:32 Friday, 6 December 2013 -->

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8" /><meta name=Generator content="Microsoft Word 12 (filtered medium)" /><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->

<P class=9d782c38-306c-4bc2-b998-ab44eb81aa98><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I found that in another example. But it don&#8217;t work really for the affinewidget&#8230;&nbsp; but I think the problem here is something else. So marshalling should work.<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose" target="_top" rel="nofollow" link="external"><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></a></p></div></P>
<TABLE style="MARGIN-TOP: 2px; MARGIN-BOTTOM: 2px" class=9d782c38-306c-4bc2-b998-ab44eb81aa98Table border=0 cellSpacing=0 cellPadding=0>
  <TBODY>
  <TR>
    <TD style="PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px" vAlign=top colSpan=2 align=left><A href="http://www.zoller-d.com/de/bestzeit" target="_top" rel="nofollow" link="external"><IMG id=Bestzeit border=0 alt="Bestzeit mit ZOLLER" src="http://vtk.1045678.n5.nabble.com/attachment/5724871/0/imagebc1806.JPG" width=640 height=150 /></A></TD></TR>
  <TR>
    <TD style="PADDING-BOTTOM: 7px; PADDING-LEFT: 0px; PADDING-RIGHT: 5px; PADDING-TOP: 0px" vAlign=top><table cellPadding=0 cellSpacing=0 class=9d782c38-306c-4bc2-b998-ab44eb81aa98Table><tr><td><span style='font-family:Verdana; font-size:xx-small; font-weight: bold; '>E. Zoller GmbH &amp; Co. KG</span></td></tr><tr><td><span style='font-family:Verdana; font-size:xx-small; '>Gottlieb-Daimler-Stra&#223;e 19</span></td></tr><tr><td><span style='font-family:Verdana; font-size:xx-small; '>74385 Pleidelsheim</span></td></tr></table></TD>
    <TD style="PADDING-BOTTOM: 7px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; PADDING-TOP: 0px" vAlign=top><table cellPadding=0 cellSpacing=0 class=9d782c38-306c-4bc2-b998-ab44eb81aa98Table><tr><td colSpan=2 style><span style='font-family:Verdana; font-size:xx-small; font-weight: bold; '>Michael Metzger</span></td><td><span style='font-family:Verdana; font-size:xx-small; '></span></td></tr><tr><td colSpan=2><span style='font-family:Verdana; font-size:xx-small; '>Informatik</span></td><td><span style='font-family:Verdana; font-size:xx-small; '></span></td></tr><tr><td style><span style='font-family:Verdana; font-size:xx-small; '>Tel </span></td><td style="padding-left: 3px"><span style='font-family:Verdana; font-size:xx-small; '>+49 7144 8970-164</span></td></tr><tr><td><span style='font-family:Verdana; font-size:xx-small; '>Fax </span></td><td style="padding-left: 3px"><span style='font-family:Verdana; font-size:xx-small; '>+49 7144 8970 70164</span></td></tr><tr><td><span style='font-family:Verdana; font-size:xx-small; '>E-Mail </span></td><td style="padding-left: 5px"><span style='font-family:Verdana; font-size:xx-small; '><span style='color: #000000; text-decoration: none; '><span style='color: #000000; text-decoration: none; '><a href='mailto:Metzger@zoller-d.com' title='Metzger@zoller-d.com' target='' rel="nofollow" link="external"><span style='color: #000000; text-decoration: none; '>Metzger@...</span></a></span></span></span></td></tr></table></TD></TR>
  <TR>
    <TD style="PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 5px; BORDER-TOP: #7f7f7f 1px solid; PADDING-TOP: 2px" colSpan=2><table cellPadding=0 cellSpacing=0 class=9d782c38-306c-4bc2-b998-ab44eb81aa98Table><tr><td><span style='font-family:Verdana; font-size:7pt; color: #7F7F7F; '>E. Zoller GmbH &amp; Co. KG | Einstell- und Messger&#228;te | Gottlieb-Daimler-Stra&#223;e 19 | D-74385 Pleidelsheim</span></td></tr><tr><td><span style='font-family:Verdana; font-size:7pt; color: #7F7F7F; '>Tel +49 7144 8970-0 | Fax +49 7144 8060807</span></td></tr><tr><td><span style='font-family:Verdana; font-size:7pt; color: #7F7F7F; '>Komplement&#228;r: E. Zoller GmbH | Pleidelsheim | Registergericht Stuttgart HRB 203149</span></td></tr><tr><td><span style='font-family:Verdana; font-size:7pt; color: #7F7F7F; '>Gesch&#228;ftsf&#252;hrer: Christoph Zoller | Alexander Zoller | Eberhard Zoller | DE 146132622</span></td></tr></table></TD></TR></TBODY></TABLE>
<P class=9d782c38-306c-4bc2-b998-ab44eb81aa98><div class=WordSection1><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> nickxtsui [via VTK] [mailto:<a href="/user/SendEmail.jtp?type=node&node=5724871&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>] <br /><b>Gesendet:</b> Donners</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>tag, 5. Dezember 2013 22:03<br /><b>An:</b> Michael Metzger<br /><b>Betreff:</b> Re: VTK C#: vtkAffineWidget &quot;PlaceWidget&quot; wants a IntPtr instead of the bounds???<o:p></o:p></span></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style=margin-bottom:12.0pt>You can try this function to convert double[] to IntPtr: <br /><br />public IntPtr DoubleArrayToIntPtr(double[] d) <br />&nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IntPtr p = Marshal.AllocCoTaskMem(sizeof(double) * d.Length); <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Marshal.Copy(d, 0, p, d.Length); <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return p; <br />&nbsp; &nbsp; &nbsp; &nbsp; } <o:p></o:p></p><div class=MsoNormal align=center style=text-align:center><hr size=1 width="100%" noshade style=color:#CCCCCC align=center /></div><div><div><p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444'>If you reply to this email, your message will be added to the discussion below:<o:p></o:p></span></b></p></div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444'><a href="http://vtk.1045678.n5.nabble.com/VTK-C-vtkAffineWidget-PlaceWidget-wants-a-IntPtr-instead-of-the-bounds-tp5724820p5724858.html" target="_top" rel="nofollow" link="external">http://vtk.1045678.n5.nabble.com/VTK-C-vtkAffineWidget-PlaceWidget-wants-a-IntPtr-instead-of-the-bounds-tp5724820p5724858.html</a> <o:p></o:p></span></p></div><div style=margin-top:4.8pt><p class=MsoNormal style=line-height:18.0pt><span style='font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#666666'>To unsubscribe from VTK C#: vtkAffineWidget &quot;PlaceWidget&quot; wants a IntPtr instead of the bounds???, <a href="" target="_top" rel="nofollow" link="external">click here</a>.<br /><a href="http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" target="_top" rel="nofollow" link="external"><span style='font-size:7.0pt;font-family:"Times New Roman","serif"'>NAML</span></a> <o:p></o:p></span></p></div></div></P>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/VTK-C-vtkAffineWidget-PlaceWidget-wants-a-IntPtr-instead-of-the-bounds-tp5724820p5724871.html">AW: VTK C#: vtkAffineWidget &quot;PlaceWidget&quot; wants a IntPtr instead of the bounds???</a><br/>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>