<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[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]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hong Yi recently reported problems in release build that didn&#8217;t appear in debug.&nbsp; She appears to have successfully resolved her specific issues &#8211; they seem to have been caused by using VTK 5.6 built using Visual Studio 2008 in an application
 built with Visual Studio 2010.&nbsp; However, I also had something that appeared only in release build as well, and I&#8217;m working with everything &#8211; VTK 5.8.0, Qt 4.7.1, and my C&#43;&#43; app calling on those libraries &#8211; all built in VS 2010, so that&#8217;s not the problem for
 me.&nbsp; I should say that I&#8217;m not currently having this problem anymore, and I don&#8217;t know how to reproduce it, especially since the class in which it occurred was fairly complex at this point, so even when it was happening I wasn&#8217;t able to isolate it in a test
 case of manageable size.&nbsp; I guess I&#8217;m bringing it up in order to get everyone&#8217;s (anyone&#8217;s) ideas about why it should occur only in release but not debug.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">What I have is a class that inherits from QDialog with a number (6) of QvtkWidgets, each of which has an associated vtkRenderWindow and all the usual appurtenances.&nbsp; In only one (and always the same one) of those 6, for some builds and
 only some of the time (usually at the window&#8217;s first appearance), none of a set of vtkPolyData structures would show up.&nbsp; Just to complicate matters, the vtkPolyData objects actually are members of another class that belongs to the QDialog descendent, so I&#8217;m
 not going to even try to submit a code snippet.&nbsp; But more generally, why might this occur in a release build only, and then only sporadically?<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="color:black">-Steve Chall<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">&nbsp;Senior Research Software Developer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">&nbsp;Renaissance Computing Institute (RENCI)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">&nbsp;Phone: 919-681-9639<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">&nbsp;Email: <a href="mailto:stevec@renci.org">
<span style="color:blue">stevec@renci.org</span></a></span><o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>