Rational Purify and the “Microsoft DIA SDK”: how to make it work
If you run IBM Rational Purify (or PurifyPlus) on a machine that doesn’t have Visual Studio installed, you’re likely to be told that “Purify requires that a module from the Microsoft DIA SDK be installed”.
(Wouldn’t it be nice if it told you the name of the module? Or if the Help button worked? But anyway.)
The IBM article PurifyPlus requires that the Microsoft DIA SDK be installed… explains that for Visual Studio 2005 you have to run vcredist_x86.exe, but for me at least that had no effect. Neither did the instructions for Visual Studio 2008.
Having searched and discovered that the file in question is msdia80.dll, I copied msdia80.dll from my development machine into C:\windows\system32 and ran regsvr32 msdia80.dll
. Hey presto, Purify now shows my source code in its output!
Your mileage may vary of course, but perhaps it’ll work for you too. I believe the same requirement applies to Rational Quantify and Rational PureCoverage, but I haven’t tried my fix with them – if you find that it does or doesn’t work, please leave a comment!
Incidentally, the reason I’m running Purify on a different PC from my main development PC is that it seems flaky under 64-bit Windows, even when running with a 32-bit process. The application crashes a few seconds after starting. On 32-bit Windows (in a virtual machine) it works like a charm.
September 2nd, 2009 at 11:08 am
It was a great help.
Thanks
December 2nd, 2009 at 11:16 pm
I agree, the help system really leaves you wanting. Thanks for writing this article!
September 20th, 2010 at 7:00 am
Hi
Can you please tell, which version of Rational Purify (or Rational Rose Enterprise Edition) is compatible with Visual Studio 2008?
Can i get trial version for that? if yes Where?
Thanks
September 20th, 2010 at 8:00 am
Hi Rakesh,
I’ve only ever used Purify with executables created with Visual Studio 2005, but I’ve no reason to believe it won’t work with 2008 as well.
You can get a free trial here: http://www.ibm.com/developerworks/downloads/r/rpp/