<br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style><br>
<div class="gmail_quote">2010/4/22 James Perrins <span dir="ltr">&lt;<a href="mailto:JamesP@esdm.co.uk">JamesP@esdm.co.uk</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
However - unfortunately after all this - it doesn&#39;t seem to make any difference to the original problems with the memory errors.  I had hoped by compiling to CLR 4 these would go but they haven&#39;t.  So I&#39;m back to square one - it doesn&#39;t work with CLR 4.<br>

<br>
Any other ideas whey there might be memory issues ?<br>
<br></blockquote><div><br>I suspect it may be due to the fact that many dependent dll-s may refer to different CRT libraries since multiple compilers have been used. For more information about this topic see my related blogpost: <a href="http://szekerest.blogspot.com/2010/02/redistribution-of-shared-c-runtime.html">Redistribution of the shared C runtime component in Visual C++</a><br>
<br>It would be reasonable to test with a consistent build, where all the dependecies have been compiled with the same compiler. I&#39;ll be trying to extend the <a href="http://vbkto.dyndns.org/sdk/">SDK packages</a> with the VS2010 versions soon.<br>
<br>Best regards,<br><br>Tamas<br><br></div></div><br>