<html><head><style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style></head><body><div data-externalstyle="false" dir="ltr" style="font-family:Calibri,'Segoe UI',Meiryo,'Microsoft YaHei UI','Microsoft JhengHei UI','Malgun Gothic','Khmer UI','Nirmala UI',Tunga,'Lao UI',Ebrima,sans-serif;font-size:12pt;"><div>> Hi David and thank you for the reply,</div><div> </div><div>sure, no problem.</div><div> </div><div><br>> so what is the way to add the render control to the winform in 64 bit?<br>> Currently what I did:</div><div>> ...<br>> well, it works in runtime</div><div> </div><div>Good, it’s supposed to.</div><div> </div><div> </div><div>> but it says it cannot find the kitware clr in<br>> design time.<br></div><div>It’s right, because Visual Studio is a 32-bit host, and it CANNOT LOAD 64-bit controls. It can only load “Any CPU” controls that can be just-in-time compiled to a 32-bit architecture. The ActiViz dlls cannot be just-in-time compiled to any old architecture -- it has to match the underlying native dlls that get loaded.</div><div> </div><div>So, this is normal and expected behavior in the case of ActiViz. It’s strange when you first encounter it, because there aren’t many .NET controls that have this type of native code dependency. But it is the way it is, and Visual Studio itself will probably never be a 64-bit app.</div><div> </div><div> </div><div>> Also i don't think that for it to work i need to install also 86 bit version<br>> of activiz</div><div> </div><div>Yes, you do, if you want to add it the “normal” way you add things at design time in Visual Studio. You have to add it as the 32-bit control, then switch your application’s target architecture and swap the references to the 64-bit versions... Then just ignore the Visual Studio design-time “errors” that you get. If you can build and run it, then it’s all working as best it can.</div><div> </div><div><br>> i tried to add the control through kitware dll but it cannot find it...<br>> Something is not right here i think...<br>> Can you please tell me what i did wrong?<br></div><div>I don’t think you’ve done anything wrong, because you say “it works in runtime” -- if you had done something wrong, it wouldn’t.</div><div> </div><div> </div><div>Cheers,</div><div>David C.</div><div> </div></div></body></html>