Note that there are some explanatory texts on larger screens.

plurals
  1. PODoes the latest Visual Studio 2005 Security Update cause C runtime library issues when hot fixing customer sites
    primarykey
    data
    text
    <p>As you might be aware an update to visual studio 2005 was auto updated on most machines last week. This update included a new version of the visual c runtime library. As a result any binaries built after the update also require a new redistributable installed on client systems.</p> <p>See <a href="http://support.microsoft.com/kb/971090/" rel="nofollow noreferrer">http://support.microsoft.com/kb/971090/</a></p> <p>And here is the installer for the new redistributable:</p> <p><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=766a6af7-ec73-40ff-b072-9112bab119c2" rel="nofollow noreferrer">http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=766a6af7-ec73-40ff-b072-9112bab119c2</a></p> <p>This is fine for distributing new binaries to customers, I will ship the new redistributable with the installer and it will all work.</p> <p>However I am really worried about my ability to hotfix existing customer sites if they discover a bug. In this case normally I would just send the dll or exe that was fixed.</p> <p>However if I do this now, I will have to send these customers the new redistributable and now I will be using two different versions of the c runtime library in the same executable.</p> <ul> <li>Is this a problem? </li> <li>Can this cause my application to crash? </li> <li>What happens if I allocate memory in one dll then deallocate it in another? Normally this works if the same release runtime library is used. I went through the our code about 3 years ago cleaning this up, but I cannot be sure that I have found and fixed all occurrences.</li> <li>Is the allocate/deallocate in different dlls still a problem? Now that in the era of smart pointers etc it is very had to enforce this.</li> <li>Can I control what runtime library version I depend on by changing manifests?</li> </ul> <p>Any pointers or advice would be grateful.</p> <p><strong>Updated:</strong> I have just noticed this question <a href="https://stackoverflow.com/questions/1238376/vc-kb971090-and-selecting-visual-c-runtime-dll-dependencies">VC++: KB971090 and selecting Visual C Runtime DLL dependencies</a> This is very similar, but my question is more concerned with using two different version of the runtime in one executable.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload