<div dir="ltr">Hello!<div><br></div><div style>What exactly do you mean with &#39;<span style="font-family:arial,sans-serif;font-size:13px">windowrenderer tool&#39;?</span></div><div style><font face="arial, sans-serif">The VS &#39;Design-mode&#39; (where you can create froms, or add  &#39;renderWindowControl&#39;</font><span style="font-family:arial,sans-serif">) works for me only on the x86/AnyCPU platform, under x64 I got an Error like:</span></div>
<div style><span style="font-family:arial,sans-serif">&#39;</span><font face="arial, sans-serif">Could not find type &#39;Kitware.VTK.RenderWindowControl&#39;. ... </font></div><div style><br></div><div style><font face="arial, sans-serif">And setting x64 References works only if I set the</font><span style="font-family:arial,sans-serif;font-size:13px"> </span><font face="arial, sans-serif">target-platform to &#39;x64&#39;, otherwise I&#39;m not able to select x64 binaries.</font></div>
<div style><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif">The Project-references are stored in the &lt;projectName&gt;.csproj (for C#) file, this is a plain XML file. </font></div>
<div style><font face="arial, sans-serif">The &lt;Reference&gt; nodes support a &#39;Condition&#39; Attribute, so its possible to use different binaries for different Platforms eg:</font></div><div style><font face="arial, sans-serif"><br>
</font></div><div><font face="arial, sans-serif">    &lt;Reference Include=&quot;Kitware.mummy.Runtime, processorArchitecture=x86&quot; Condition=&quot;&#39;$(Platform)&#39;==&#39;AnyCPU&#39;&quot;&gt;</font></div><div><font face="arial, sans-serif">      &lt;SpecificVersion&gt;False&lt;/SpecificVersion&gt;</font></div>
<div><font face="arial, sans-serif">      &lt;HintPath&gt; ... Kitware.mummy.Runtime.dll&lt;/HintPath&gt;</font></div><div><font face="arial, sans-serif">    &lt;/Reference&gt;</font></div><div><font face="arial, sans-serif">    &lt;Reference Include=&quot;Kitware.mummy.Runtime, processorArchitecture=x64&quot; Condition=&quot;&#39;$(Platform)&#39;==&#39;x64&#39;&quot;&gt;</font></div>
<div><font face="arial, sans-serif">      &lt;SpecificVersion&gt;False&lt;/SpecificVersion&gt;</font></div><div><font face="arial, sans-serif">      &lt;HintPath&gt; ... Kitware.mummy.Runtime.dll&lt;/HintPath&gt;</font></div>
<div><font face="arial, sans-serif">    &lt;/Reference&gt;</font></div><div><font face="arial, sans-serif">    &lt;Reference Include=&quot;Kitware.mummy.Runtime, processorArchitecture=x86&quot; Condition=&quot;&#39;$(Platform)&#39;==&#39;x86&#39;&quot;&gt;</font></div>
<div><font face="arial, sans-serif">      &lt;SpecificVersion&gt;False&lt;/SpecificVersion&gt;</font></div><div><font face="arial, sans-serif">      &lt;HintPath&gt; ... Kitware.mummy.Runtime.dll&lt;/HintPath&gt;</font></div>
<div style><font face="arial, sans-serif">    &lt;/Reference&gt; </font></div><div style><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif">hth </font></div>
<div style><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif">mirko</font></div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 3, 2013 at 8:49 AM, Domenico Quaranta <span dir="ltr">&lt;<a href="mailto:n40.analysis@gmail.com" target="_blank">n40.analysis@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Any idea why the kitware.vtk.dll is not recognized as a .net component?</div><div>Without this I don&#39;t have the windowrenderer tool in visual studio<br>
<br>Nico</div><div><br>Il giorno 03/lug/2013, alle ore 08:40, mirko heuegger &lt;<a href="mailto:mheuegger@gmail.com" target="_blank">mheuegger@gmail.com</a>&gt; ha scritto:<br><br></div><div><div class="h5"><blockquote type="cite">
<div><div dir="ltr">Hello!<div><br></div><div>Have you set the target-platform to &#39;x64&#39;?</div><div><br></div><div>And there are some differences between the x86 and x64 libraries, so returns vtkPointLocator.FindClosestPointWithinRadius in x64 a long (System.Int64) while under x86 an int (System.Int32) is returned.</div>

<div><br></div><div><br></div><div>hth</div><div><br></div><div>mirko</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 7:41 PM, Domenico Quaranta <span dir="ltr">&lt;<a href="mailto:n40.analysis@gmail.com" target="_blank">n40.analysis@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div>I&#39;m trying to make Activiz working with a .net project compiled x64.</div><div>Is anyone experienced?</div>

<div>The problem is the following:</div><div>- Activiz x86 works</div>
<div>- When I want to use Kitware.Vtk.dll x64 in visual studio, the component is not recognized...</div><div><br></div><div>Has anybody solved the issue?</div><div><br></div><div>Thanks </div>
<div>Nico</div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Real programmers don&#39;t document; if it was<br>hard to write, it should be hard to understand.
</div>
</div></blockquote></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Real programmers don&#39;t document; if it was<br>hard to write, it should be hard to understand.
</div>